METHOD_0 ( ) { org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = mock ( org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; METHOD_1 ( ) . when ( IDENT_5 . IDENT_6 ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_7 . IDENT_8 , IDENT_4 ) ; javax . ws . rs . core . Response IDENT_9 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_9 ) . when ( IDENT_5 ) . METHOD_3 ( ) ; javax . ws . rs . core . Response IDENT_10 = IDENT_5 . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_7 . IDENT_8 , IDENT_4 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 . IDENT_6 , times ( 1 ) ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_7 . IDENT_8 , IDENT_4 ) ; verify ( IDENT_5 , times ( 1 ) ) . METHOD_3 ( ) ; } METHOD_2 ( java . lang . String , org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 ) { org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 file = METHOD_4 ( ) . METHOD_5 ( METHOD_6 ( IDENT_11 ) ) ; if ( file == null ) { throw new java . io . METHOD_7 ( ) ; } try { java . util . Map < java . lang . String , java . io . IDENT_12 > IDENT_13 = METHOD_8 ( ) . METHOD_9 ( file . getId ( ) ) ; IDENT_13 . put ( IDENT_14 . IDENT_15 , IDENT_16 . getId ( ) ) ; METHOD_8 ( ) . METHOD_10 ( file . getId ( ) , IDENT_13 ) ; } catch ( java . lang . Exception e ) { throw new java . lang . METHOD_11 ( ) ; } }
org . junit . Assert . assertEquals ( IDENT_9 , IDENT_10 )