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