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