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