METHOD_0 ( ) { org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = mock ( org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; java . lang . String path = STRING_0 ; doReturn ( path ) . when ( IDENT_3 ) . getPath ( ) ; org . pentaho . platform . plugin . services . IDENT_4 . IDENT_5 IDENT_6 = mock ( org . pentaho . platform . plugin . services . IDENT_4 . IDENT_5 . class ) ; doReturn ( IDENT_6 ) . when ( IDENT_7 ) . METHOD_1 ( ) ; java . io . File IDENT_8 = mock ( java . io . File . class ) ; doReturn ( IDENT_8 ) . when ( IDENT_6 ) . METHOD_2 ( IDENT_3 ) ; java . io . InputStream IDENT_9 = mock ( java . io . IDENT_10 . class ) ; doReturn ( IDENT_9 ) . when ( IDENT_7 ) . METHOD_3 ( IDENT_8 ) ; javax . ws . rs . core . IDENT_11 IDENT_12 = mock ( javax . ws . rs . core . IDENT_11 . class ) ; doReturn ( IDENT_12 ) . when ( IDENT_7 ) . METHOD_4 ( IDENT_9 ) ; javax . ws . rs . core . Response IDENT_13 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_13 ) . when ( IDENT_7 ) . METHOD_5 ( IDENT_12 , IDENT_14 . IDENT_15 ) ; javax . ws . rs . core . Response IDENT_16 = IDENT_7 . METHOD_6 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 , times ( 1 ) ) . getPath ( ) ; verify ( IDENT_7 , times ( 1 ) ) . METHOD_1 ( ) ; verify ( IDENT_6 , times ( 1 ) ) . METHOD_7 ( path ) ; verify ( IDENT_6 , times ( 1 ) ) . METHOD_8 ( IDENT_7 . IDENT_17 ) ; verify ( IDENT_6 , times ( 1 ) ) . METHOD_2 ( IDENT_3 ) ; verify ( IDENT_7 , times ( 1 ) ) . METHOD_3 ( IDENT_8 ) ; verify ( IDENT_7 , times ( 1 ) ) . METHOD_4 ( IDENT_9 ) ; verify ( IDENT_7 , times ( 1 ) ) . METHOD_5 ( IDENT_12 , IDENT_14 . IDENT_15 ) ; } METHOD_6 ( org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 ) { java . lang . String path = IDENT_18 . getPath ( ) ; final java . io . InputStream is ; try { org . pentaho . platform . plugin . services . IDENT_4 . IDENT_5 IDENT_19 = METHOD_1 ( ) ; IDENT_19 . METHOD_7 ( path ) ; IDENT_19 . METHOD_8 ( org . pentaho . platform . web . http . api . resources . IDENT_14 . IDENT_17 ) ; java . io . File IDENT_20 = IDENT_19 . METHOD_2 ( IDENT_18 ) ; is = METHOD_3 ( IDENT_20 ) ; } catch ( java . lang . Exception e ) { return METHOD_9 ( e . toString ( ) ) ; } javax . ws . rs . core . IDENT_11 IDENT_21 = METHOD_4 ( is ) ; return METHOD_5 ( IDENT_21 , org . pentaho . platform . web . http . api . resources . IDENT_14 . IDENT_15 ) ; }
org . junit . Assert . assertEquals ( IDENT_13 , IDENT_16 )