METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . io . InputStream IDENT_1 = mock ( java . io . InputStream . class ) ; METHOD_1 ( ) . when ( IDENT_2 . IDENT_3 ) . METHOD_2 ( IDENT_0 , org . pentaho . platform . web . http . api . resources . IDENT_4 . IDENT_5 , IDENT_1 ) ; javax . ws . rs . core . Response IDENT_6 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_6 ) . when ( IDENT_2 ) . METHOD_3 ( ) ; doReturn ( IDENT_0 ) . when ( IDENT_2 . IDENT_7 ) . METHOD_4 ( ) ; javax . ws . rs . core . Response IDENT_8 = IDENT_2 . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_4 . IDENT_5 , IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 . IDENT_3 , times ( 1 ) ) . METHOD_2 ( IDENT_0 , org . pentaho . platform . web . http . api . resources . IDENT_4 . IDENT_5 , IDENT_1 ) ; verify ( IDENT_2 , times ( 1 ) ) . METHOD_3 ( ) ; } METHOD_2 ( java . lang . String , java . io . InputStream ) { try { METHOD_5 ( IDENT_9 ) ; IDENT_3 . METHOD_2 ( IDENT_7 . METHOD_4 ( ) , IDENT_9 , IDENT_10 ) ; return METHOD_3 ( ) ; } catch ( java . lang . Throwable t ) { return METHOD_6 ( t ) ; } }
org . junit . Assert . assertEquals ( IDENT_6 , IDENT_8 )