METHOD_0 ( ) { java . lang . String params = STRING_0 ; METHOD_1 ( ) . when ( IDENT_0 . IDENT_1 ) . METHOD_2 ( params ) ; javax . ws . rs . core . Response IDENT_2 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_0 ) . METHOD_3 ( ) ; javax . ws . rs . core . Response IDENT_3 = IDENT_0 . METHOD_2 ( params ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_3 ( ) ; verify ( IDENT_0 . IDENT_1 , times ( 1 ) ) . METHOD_2 ( params ) ; } METHOD_2 ( java . lang . String ) { java . lang . String [ ] IDENT_4 = org . pentaho . platform . web . http . api . resources . utils . IDENT_5 . METHOD_4 ( params ) ; try { for ( int i = 0 ; i < ( IDENT_4 . length ) ; i ++ ) { METHOD_5 ( ) . METHOD_6 ( IDENT_4 [ i ] , true , null ) ; } } catch ( java . lang . Exception e ) { org . pentaho . platform . web . http . api . resources . services . IDENT_6 . logger . error ( org . pentaho . platform . web . http . messages . IDENT_7 . getInstance ( ) . getString ( STRING_1 ) , e ) ; throw e ; } }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_3 )