METHOD_0 ( ) { org . pentaho . platform . web . http . api . resources . services . IDENT_0 . IDENT_1 IDENT_2 = mock ( IDENT_0 . IDENT_1 . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 . IDENT_4 ) . METHOD_1 ( org . pentaho . platform . web . http . api . resources . IDENT_5 . IDENT_6 ) ; javax . ws . rs . core . Response IDENT_7 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_7 ) . when ( IDENT_3 ) . METHOD_2 ( IDENT_2 ) ; javax . ws . rs . core . Response IDENT_8 = IDENT_3 . METHOD_1 ( org . pentaho . platform . web . http . api . resources . IDENT_5 . IDENT_6 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 . IDENT_4 , times ( 1 ) ) . METHOD_1 ( org . pentaho . platform . web . http . api . resources . IDENT_5 . IDENT_6 ) ; verify ( IDENT_3 , times ( 1 ) ) . METHOD_2 ( IDENT_2 ) ; } METHOD_1 ( java . lang . String ) { java . lang . String path = METHOD_3 ( IDENT_9 ) ; if ( ! ( METHOD_4 ( path ) ) ) { throw new java . lang . IllegalArgumentException ( ) ; } org . pentaho . platform . api . IDENT_10 . IDENT_11 . IDENT_12 IDENT_13 = METHOD_5 ( ) . METHOD_6 ( path ) ; if ( IDENT_13 == null ) { throw new java . io . METHOD_7 ( ) ; } if ( ! ( METHOD_8 ( ) . accept ( IDENT_13 . getName ( ) ) ) ) { if ( ! ( METHOD_9 ( ) . METHOD_10 ( IDENT_14 . IDENT_15 ) ) ) { throw new java . lang . IllegalArgumentException ( ) ; } } final org . pentaho . platform . IDENT_10 . IDENT_11 . IDENT_16 . IDENT_17 is = METHOD_11 ( IDENT_13 ) ; javax . ws . rs . core . IDENT_18 IDENT_19 = METHOD_12 ( is ) ; org . pentaho . platform . web . http . api . resources . services . IDENT_0 . IDENT_1 IDENT_20 = new org . pentaho . platform . web . http . api . resources . services . IDENT_0 . METHOD_13 ( ) ; IDENT_20 . METHOD_14 ( IDENT_19 ) ; IDENT_20 . METHOD_15 ( IDENT_13 ) ; IDENT_20 . METHOD_16 ( is . METHOD_17 ( ) ) ; return IDENT_20 ; }
org . junit . Assert . assertEquals ( IDENT_7 , IDENT_8 )