write ( ) { final byte [ ] data = new byte [ INT_0 ] ; new java . util . METHOD_0 ( ) . METHOD_1 ( data ) ; final nl . IDENT_0 . IDENT_1 . packet . IDENT_2 packet = new nl . IDENT_0 . IDENT_1 . packet . METHOD_2 ( METHOD_2 . IDENT_3 . IDENT_4 , ( ( short ) ( 0 ) ) , data ) ; final java . io . ByteArrayOutputStream IDENT_5 = new java . io . ByteArrayOutputStream ( ) ; final java . io . IDENT_6 IDENT_7 = new java . io . METHOD_3 ( IDENT_5 ) ; IDENT_7 . METHOD_4 ( METHOD_2 . IDENT_3 . IDENT_4 . METHOD_5 ( ) ) ; IDENT_7 . METHOD_6 ( 0 ) ; IDENT_7 . METHOD_7 ( data . length ) ; IDENT_7 . write ( data ) ; final java . io . ByteArrayOutputStream IDENT_8 = new java . io . ByteArrayOutputStream ( ) ; final java . io . METHOD_3 IDENT_9 = new java . io . METHOD_3 ( IDENT_8 ) ; packet . write ( IDENT_9 ) ; "<AssertPlaceHolder>" ; } write ( nl . IDENT_0 . IDENT_1 . packet . METHOD_3 ) { out . METHOD_4 ( IDENT_10 . METHOD_5 ( ) ) ; out . METHOD_6 ( IDENT_11 ) ; out . METHOD_7 ( IDENT_12 ) ; out . write ( data ) ; }
org . junit . Assert . assertArrayEquals ( IDENT_5 . toByteArray ( ) , IDENT_8 . toByteArray ( ) )