METHOD_0 ( ) { java . io . File test = IDENT_0 . METHOD_1 ( ) ; java . io . File f = new java . io . File ( test , STRING_0 ) ; java . io . IDENT_1 writer = org . IDENT_2 . IDENT_3 . io . IDENT_4 . METHOD_2 ( f , IDENT_5 . IDENT_6 ) ; writer . write ( STRING_1 ) ; writer . METHOD_3 ( ) ; writer . close ( ) ; "<AssertPlaceHolder>" ; } read ( java . io . IDENT_7 ) { java . io . IDENT_1 out = new java . io . StringWriter ( ) ; char [ ] buf = new char [ INT_0 ] ; int len = in . read ( buf ) ; while ( len >= 0 ) { out . write ( buf , 0 , len ) ; len = in . read ( buf ) ; } out . METHOD_3 ( ) ; return out . toString ( ) ; }
org . junit . Assert . assertEquals ( STRING_1 , read ( f ) )