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