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