METHOD_0 ( ) { when ( request . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; when ( response . METHOD_2 ( ) ) . thenReturn ( IDENT_0 ) ; when ( IDENT_1 . METHOD_3 ( STRING_1 , STRING_2 , IDENT_2 . IDENT_3 ) ) . thenReturn ( 0 ) ; when ( IDENT_1 . METHOD_4 ( STRING_1 , STRING_2 , STRING_3 , IDENT_2 . IDENT_3 ) ) . thenReturn ( new java . io . ByteArrayInputStream ( STRING_4 . getBytes ( ) ) ) ; servlet . METHOD_5 ( IDENT_1 ) ; servlet . METHOD_6 ( request , response ) ; "<AssertPlaceHolder>" ; verify ( response , METHOD_7 ( ) ) . METHOD_8 ( METHOD_9 ( ) ) ; } METHOD_10 ( ) { return new java . lang . String ( IDENT_4 . toByteArray ( ) ) ; }
org . junit . Assert . assertEquals ( STRING_4 , IDENT_0 . METHOD_10 ( ) )