METHOD_0 ( ) { java . lang . String params = STRING_0 ; METHOD_1 ( ) . when ( IDENT_0 . IDENT_1 ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_2 . IDENT_3 , params ) ; javax . ws . rs . core . Response IDENT_4 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_4 ) . when ( IDENT_0 ) . METHOD_3 ( ) ; javax . ws . rs . core . Response IDENT_5 = IDENT_0 . METHOD_4 ( org . pentaho . platform . web . http . api . resources . IDENT_2 . IDENT_3 , params ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 . IDENT_1 , times ( 1 ) ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_2 . IDENT_3 , params ) ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_3 ( ) ; } METHOD_4 ( java . lang . String , java . lang . String ) { try { IDENT_1 . METHOD_2 ( IDENT_6 , params ) ; return METHOD_3 ( ) ; } catch ( java . io . IDENT_7 e ) { org . pentaho . platform . web . http . api . resources . IDENT_8 . logger . error ( org . pentaho . platform . web . http . messages . IDENT_9 . getInstance ( ) . METHOD_5 ( STRING_1 , IDENT_6 ) , e ) ; return METHOD_6 ( Response . Status . IDENT_10 ) ; } catch ( org . pentaho . platform . api . IDENT_11 . IDENT_12 . IDENT_13 e ) { org . pentaho . platform . web . http . api . resources . IDENT_8 . logger . error ( org . pentaho . platform . web . http . messages . IDENT_9 . getInstance ( ) . METHOD_5 ( STRING_2 , params ) , e ) ; return METHOD_6 ( Response . Status . IDENT_14 ) ; } catch ( java . lang . Throwable t ) { org . pentaho . platform . web . http . api . resources . IDENT_8 . logger . error ( org . pentaho . platform . web . http . messages . IDENT_9 . getInstance ( ) . getString ( STRING_3 ) , t ) ; return METHOD_6 ( Response . Status . IDENT_15 ) ; } }
org . junit . Assert . assertEquals ( IDENT_4 , IDENT_5 )