METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; METHOD_1 ( ) . when ( IDENT_1 . IDENT_2 ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_3 . IDENT_4 , IDENT_0 ) ; 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 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 . IDENT_2 , times ( 1 ) ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_3 . IDENT_4 , IDENT_0 ) ; verify ( IDENT_1 , times ( 1 ) ) . METHOD_3 ( ) ; } METHOD_2 ( java . lang . String , java . lang . String ) { try { org . pentaho . platform . api . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_10 file = METHOD_4 ( ) . METHOD_5 ( METHOD_6 ( IDENT_11 ) ) ; if ( file != null ) { METHOD_4 ( ) . METHOD_7 ( file . getId ( ) , IDENT_0 ) ; } } catch ( java . lang . Exception e ) { org . pentaho . platform . web . http . api . resources . services . IDENT_12 . logger . error ( org . pentaho . platform . web . http . messages . IDENT_13 . getInstance ( ) . getString ( STRING_1 ) , e ) ; throw e ; } }
org . junit . Assert . assertEquals ( IDENT_5 , IDENT_6 )