METHOD_0 ( ) { org . IDENT_0 . filters . IDENT_1 . IDENT_2 response = new org . IDENT_0 . filters . IDENT_1 . METHOD_1 ( new org . springframework . mock . web . METHOD_2 ( ) ) ; org . IDENT_0 . filters . IDENT_3 stream = new org . IDENT_0 . filters . METHOD_3 ( response ) ; stream . write ( STRING_0 . getBytes ( ) ) ; stream . METHOD_4 ( ) ; stream . close ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( byte [ ] ) { java . io . InputStream stream = new java . util . IDENT_4 . METHOD_6 ( new java . io . ByteArrayInputStream ( IDENT_5 ) ) ; int IDENT_6 ; java . util . ArrayList < java . lang . IDENT_7 > builder = new java . util . ArrayList < java . lang . IDENT_7 > ( ) ; while ( ( IDENT_6 = stream . read ( ) ) != ( - 1 ) ) { builder . add ( ( ( byte ) ( IDENT_6 ) ) ) ; } byte [ ] results = new byte [ builder . size ( ) ] ; for ( int i = 0 ; i < ( builder . size ( ) ) ; i ++ ) results [ i ] = builder . get ( i ) . METHOD_7 ( ) ; return results ; }
org . junit . Assert . assertEquals ( STRING_0 , new java . lang . String ( METHOD_5 ( response . toByteArray ( ) ) ) )