METHOD_0 ( ) { java . lang . String s = STRING_0 ; java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; java . io . IDENT_0 IDENT_1 = org . apache . IDENT_2 . IDENT_3 . text . io . IDENT_4 . METHOD_1 ( out , IDENT_4 . IDENT_5 . IDENT_6 ) ; IDENT_1 . write ( s . getBytes ( STRING_1 ) ) ; IDENT_1 . METHOD_2 ( ) ; IDENT_1 . close ( ) ; byte [ ] bytes = out . toByteArray ( ) ; java . io . ByteArrayInputStream in = new java . io . ByteArrayInputStream ( bytes ) ; java . io . InputStream IDENT_7 = org . apache . IDENT_2 . IDENT_3 . text . io . IDENT_4 . METHOD_3 ( in , IDENT_4 . IDENT_5 . IDENT_6 ) ; byte [ ] buffer = new byte [ 20 ] ; int r = IDENT_7 . read ( buffer ) ; java . lang . String t = new java . lang . String ( buffer , 0 , r , STRING_1 ) ; "<AssertPlaceHolder>" ; } read ( java . io . InputStream ) { java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; int m = - 1 ; while ( ( m = in . read ( ) ) != ( - 1 ) ) { out . write ( m ) ; } java . lang . String IDENT_8 = new java . lang . String ( out . toByteArray ( ) ) ; return IDENT_8 . trim ( ) ; }
org . junit . Assert . assertEquals ( s , t )