METHOD_0 ( ) { final java . lang . String resource = STRING_0 ; when ( request . METHOD_1 ( org . pentaho . test . platform . web . IDENT_0 . IDENT_1 ) ) . thenReturn ( resource ) ; final javax . servlet . IDENT_2 IDENT_3 = mock ( javax . servlet . IDENT_2 . class ) ; final org . apache . commons . lang3 . mutable . IDENT_4 IDENT_5 = new org . apache . commons . lang3 . mutable . METHOD_2 ( 0 ) ; METHOD_3 ( new org . mockito . IDENT_6 . IDENT_7 < java . lang . IDENT_8 > ( ) { @ org . pentaho . test . platform . web . Override public org . pentaho . test . platform . web . IDENT_8 METHOD_4 ( org . mockito . IDENT_9 . IDENT_10 IDENT_9 ) throws java . lang . Throwable { IDENT_5 . add ( ( ( java . lang . Integer ) ( IDENT_9 . METHOD_5 ( ) [ 2 ] ) ) ) ; return null ; } } ) . when ( IDENT_3 ) . write ( any ( byte [ ] . class ) , METHOD_6 ( ) , METHOD_6 ( ) ) ; when ( response . METHOD_7 ( ) ) . thenReturn ( IDENT_3 ) ; servlet . service ( request , response ) ; verify ( response ) . METHOD_8 ( eq ( org . pentaho . test . platform . web . IDENT_0 . IDENT_11 ) ) ; final int expected = new java . lang . Long ( new java . io . File ( org . pentaho . platform . engine . core . IDENT_12 . IDENT_13 . METHOD_9 ( ) . METHOD_10 ( ( STRING_1 + resource ) ) ) . length ( ) ) . METHOD_11 ( ) ; "<AssertPlaceHolder>" ; verify ( response ) . METHOD_12 ( eq ( expected ) ) ; } METHOD_10 ( java . lang . String ) { return "" ; }
org . junit . Assert . assertEquals ( expected , IDENT_5 . METHOD_11 ( ) )