test ( ) { java . io . IDENT_0 out = new java . io . METHOD_0 ( IDENT_1 ) ; org . apache . IDENT_2 . serialization . IDENT_3 serializer = org . apache . IDENT_2 . serialization . IDENT_4 . getInstance ( STRING_0 , null , out ) ; serializer . METHOD_1 ( ) ; serializer . write ( org . apache . IDENT_2 . event . IDENT_5 . METHOD_2 ( STRING_1 , IDENT_6 . UTF_8 ) ) ; serializer . write ( org . apache . IDENT_2 . event . IDENT_5 . METHOD_2 ( STRING_2 , IDENT_6 . UTF_8 ) ) ; serializer . write ( org . apache . IDENT_2 . event . IDENT_5 . METHOD_2 ( STRING_3 , IDENT_6 . UTF_8 ) ) ; serializer . METHOD_3 ( ) ; serializer . METHOD_4 ( ) ; out . METHOD_3 ( ) ; out . close ( ) ; java . io . IDENT_7 reader = new java . io . METHOD_5 ( new java . io . METHOD_6 ( IDENT_1 ) ) ; java . lang . String line ; int IDENT_8 = 0 ; while ( ( line = reader . METHOD_7 ( ) ) != null ) { System . out . println ( line ) ; IDENT_8 ++ ; } "<AssertPlaceHolder>" ; org . apache . commons . io . IDENT_9 . METHOD_8 ( IDENT_1 ) ; } close ( ) { if ( ( IDENT_10 ) != null ) { IDENT_10 . close ( ) ; IDENT_10 = null ; } }
org . junit . Assert . assertEquals ( 3 , IDENT_8 )