METHOD_0 ( ) { org . IDENT_0 . IDENT_1 IDENT_0 = new org . IDENT_0 . METHOD_1 ( ) ; java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; java . util . IDENT_2 . IDENT_3 IDENT_4 = new java . util . IDENT_2 . METHOD_2 ( out ) ; org . IDENT_0 . IDENT_5 . IDENT_6 IDENT_5 = IDENT_0 . METHOD_3 ( IDENT_4 ) ; com . IDENT_7 . logger . IDENT_8 . IDENT_9 IDENT_10 = new com . IDENT_7 . logger . IDENT_8 . METHOD_4 ( IDENT_0 ) ; for ( int i = 0 ; i < 100 ; i ++ ) { java . util . Map < java . lang . String , java . lang . Object > data = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; data . put ( ( STRING_0 + i ) , ( STRING_1 + i ) ) ; data . put ( ( STRING_0 + i ) , i ) ; IDENT_5 . write ( data ) ; IDENT_10 . write ( data ) ; } IDENT_5 . METHOD_5 ( ) ; IDENT_4 . METHOD_6 ( ) ; "<AssertPlaceHolder>" ; IDENT_4 . close ( ) ; } METHOD_7 ( ) { try { IDENT_4 . close ( ) ; return out . toByteArray ( ) ; } finally { METHOD_8 ( ) ; } }
org . junit . Assert . assertArrayEquals ( out . toByteArray ( ) , IDENT_10 . METHOD_7 ( ) )