METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . io . InputStream IDENT_1 = mock ( java . io . InputStream . class ) ; boolean IDENT_2 = false ; boolean IDENT_3 = false ; javax . ws . rs . core . Response IDENT_4 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( STRING_1 ) . when ( org . pentaho . platform . IDENT_5 . IDENT_6 . api . resources . IDENT_7 . IDENT_8 . service ) . METHOD_1 ( IDENT_0 , IDENT_1 , IDENT_2 , IDENT_3 , null ) ; doReturn ( IDENT_4 ) . when ( org . pentaho . platform . IDENT_5 . IDENT_6 . api . resources . IDENT_7 . IDENT_8 ) . METHOD_2 ( STRING_1 ) ; javax . ws . rs . core . Response response = org . pentaho . platform . IDENT_5 . IDENT_6 . api . resources . IDENT_7 . IDENT_8 . METHOD_1 ( IDENT_0 , IDENT_1 , IDENT_2 , IDENT_3 , null ) ; verify ( org . pentaho . platform . IDENT_5 . IDENT_6 . api . resources . IDENT_7 . IDENT_8 , times ( 1 ) ) . METHOD_1 ( IDENT_0 , IDENT_1 , IDENT_2 , IDENT_3 , null ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . io . InputStream , boolean , boolean , org . pentaho . platform . api . IDENT_9 . IDENT_10 . IDENT_11 . IDENT_12 ) { try { final java . lang . String IDENT_13 = service . METHOD_1 ( IDENT_0 , IDENT_1 , IDENT_2 , IDENT_3 , IDENT_14 ) ; return METHOD_2 ( IDENT_13 ) ; } catch ( org . pentaho . platform . api . engine . IDENT_15 e ) { return METHOD_3 ( ) ; } catch ( java . lang . IllegalArgumentException e ) { return METHOD_4 ( e . getMessage ( ) ) ; } catch ( org . pentaho . platform . IDENT_5 . IDENT_6 . api . IDENT_16 e ) { return METHOD_5 ( e . getMessage ( ) ) ; } catch ( java . lang . Exception e ) { return METHOD_6 ( ) ; } }
org . junit . Assert . assertEquals ( IDENT_4 , response )