METHOD_0 ( ) { java . lang . Integer IDENT_0 = 1 ; java . lang . String params = STRING_0 ; METHOD_1 ( ) . when ( IDENT_1 . IDENT_2 ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_3 . IDENT_4 , IDENT_0 , params ) ; javax . ws . rs . core . Response IDENT_5 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_5 ) . when ( IDENT_1 ) . METHOD_3 ( ) ; javax . ws . rs . core . Response IDENT_6 = IDENT_1 . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_3 . IDENT_4 , IDENT_0 , params ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 . IDENT_2 , times ( 1 ) ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_3 . IDENT_4 , IDENT_0 , params ) ; } METHOD_2 ( java . lang . String , java . lang . Integer , java . lang . String ) { if ( ! ( METHOD_4 ( ) . METHOD_5 ( IDENT_7 . IDENT_8 ) ) ) { throw new java . lang . IllegalArgumentException ( ) ; } if ( IDENT_0 == null ) { IDENT_0 = org . pentaho . platform . web . http . api . resources . services . IDENT_9 . IDENT_10 ; } java . lang . String path = METHOD_6 ( IDENT_11 ) ; java . lang . String [ ] IDENT_12 = org . pentaho . platform . web . http . api . resources . utils . IDENT_13 . METHOD_7 ( params ) ; org . pentaho . platform . web . http . api . resources . operations . IDENT_14 IDENT_15 = new org . pentaho . platform . web . http . api . resources . operations . METHOD_8 ( METHOD_9 ( ) , METHOD_10 ( ) , java . util . Arrays . asList ( IDENT_12 ) , path , IDENT_0 ) ; IDENT_15 . execute ( ) ; }
org . junit . Assert . assertEquals ( IDENT_5 , IDENT_6 )