METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; javax . ws . rs . core . Response IDENT_2 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 ) . METHOD_1 ( Response . Status . IDENT_4 ) ; javax . ws . rs . core . Response IDENT_5 = IDENT_3 . METHOD_2 ( IDENT_0 , IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 . IDENT_6 , times ( 1 ) ) . METHOD_3 ( IDENT_0 ) ; } METHOD_2 ( java . lang . String , java . lang . String ) { try { org . pentaho . platform . api . IDENT_7 . IDENT_8 IDENT_9 = IDENT_6 . METHOD_3 ( IDENT_0 ) ; if ( IDENT_9 == null ) { return METHOD_1 ( Status . IDENT_4 ) ; } return METHOD_4 ( IDENT_9 ) ; } catch ( org . pentaho . platform . api . IDENT_7 . IDENT_10 e ) { throw new java . lang . RuntimeException ( e ) ; } }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_5 )