METHOD_0 ( ) { byte [ ] data = "foo" . getBytes ( ) ; byte [ ] IDENT_0 = new byte [ 4 + ( data . length ) ] ; com . IDENT_1 . IDENT_2 . util . IDENT_3 . METHOD_1 ( data . length , IDENT_0 , 0 ) ; java . lang . System . METHOD_2 ( data , 0 , IDENT_0 , 4 , data . length ) ; buffer . write ( STRING_0 . getBytes ( ) , 0 , 3 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { byte [ ] IDENT_4 = buffer . toByteArray ( ) ; com . IDENT_1 . IDENT_2 . util . IDENT_3 . METHOD_1 ( ( ( IDENT_4 . length ) - 4 ) , IDENT_4 , 0 ) ; return IDENT_4 ; }
org . junit . Assert . assertArrayEquals ( IDENT_0 , buffer . METHOD_3 ( ) )