METHOD_0 ( ) { java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; eu . IDENT_0 . IDENT_1 . common . java . io . IDENT_2 < eu . IDENT_0 . IDENT_1 . common . avro . Document > writer = new eu . IDENT_0 . IDENT_1 . common . java . io . IDENT_2 < eu . IDENT_0 . IDENT_1 . common . avro . Document > ( eu . IDENT_0 . IDENT_1 . common . avro . Document . IDENT_3 , out ) ; java . util . List < eu . IDENT_0 . IDENT_1 . common . avro . Document > IDENT_4 = eu . IDENT_0 . IDENT_1 . common . java . io . IDENT_5 . METHOD_1 ( ) ; for ( eu . IDENT_0 . IDENT_1 . common . avro . Document d : IDENT_4 ) { writer . write ( d ) ; } writer . close ( ) ; java . lang . String actual = out . toString ( ) ; java . io . IDENT_6 in = new java . io . METHOD_2 ( java . lang . Thread . METHOD_3 ( ) . METHOD_4 ( ) . getResourceAsStream ( STRING_0 ) , STRING_1 ) ; java . lang . String expected = eu . IDENT_0 . IDENT_1 . common . java . io . IDENT_7 . toString ( in ) ; "<AssertPlaceHolder>" ; } toString ( java . io . IDENT_6 ) { java . io . StringWriter writer = new java . io . StringWriter ( ) ; org . apache . commons . io . IDENT_8 . METHOD_5 ( in , writer ) ; return writer . toString ( ) . replace ( STRING_2 , "" ) ; }
org . junit . Assert . assertEquals ( expected , actual )