METHOD_0 ( ) { byte [ ] expected = new byte [ ] { INT_0 , 0 , 0 , INT_1 , INT_2 , INT_3 , 0 , 0 , ( ( byte ) ( INT_4 ) ) , INT_5 , INT_6 , INT_7 , ( ( byte ) ( INT_8 ) ) , ( ( byte ) ( INT_9 ) ) , 1 , 2 , 12 , ( ( byte ) ( INT_10 ) ) , ( ( byte ) ( INT_11 ) ) , 2 , INT_12 , ( ( byte ) ( INT_13 ) ) , 4 , INT_14 , 0 , 9 , INT_15 , INT_16 , 1 } ; net . IDENT_0 . packet . IDENT_1 packet = new net . IDENT_0 . packet . METHOD_1 ( ) . METHOD_2 ( ( ( short ) ( INT_17 ) ) ) . METHOD_3 ( ( ( byte ) ( INT_4 ) ) ) . METHOD_4 ( STRING_0 ) . METHOD_5 ( STRING_1 ) . METHOD_6 ( new net . IDENT_0 . packet . METHOD_7 ( ) . METHOD_8 ( ( ( short ) ( INT_18 ) ) ) . METHOD_9 ( ( ( short ) ( INT_19 ) ) ) . METHOD_6 ( new net . IDENT_0 . packet . METHOD_10 ( new byte [ ] { 1 } ) ) ) ; byte [ ] actual = packet . serialize ( ) ; "<AssertPlaceHolder>" ; } serialize ( ) { byte [ ] IDENT_2 = null ; if ( ( payload ) != null ) { payload . METHOD_11 ( this ) ; IDENT_2 = payload . serialize ( ) ; } int length = ( net . IDENT_0 . packet . IDENT_3 . IDENT_4 ) + ( IDENT_2 == null ? 0 : IDENT_2 . length ) ; byte [ ] data = new byte [ length ] ; java . nio . ByteBuffer IDENT_5 = java . nio . ByteBuffer . METHOD_12 ( data ) ; IDENT_5 . put ( net . IDENT_0 . packet . IDENT_3 . IDENT_6 ) ; IDENT_5 . METHOD_13 ( IDENT_7 ) ; byte IDENT_8 = ( ( byte ) ( ( IDENT_9 ) ? 1 : 0 ) ) ; byte IDENT_10 = ( ( byte ) ( ( IDENT_11 ) ? 1 : 0 ) ) ; byte IDENT_12 = ( ( byte ) ( ( ( ( ( ( command ) & 3 ) << 6 ) | ( ( IDENT_8 & 1 ) << 5 ) ) | ( ( IDENT_10 & 1 ) << 4 ) ) | ( ( IDENT_13 ) & 15 ) ) ) ; IDENT_5 . put ( IDENT_12 ) ; if ( IDENT_2 != null ) { IDENT_5 . put ( IDENT_2 ) ; } return data ; }
org . junit . Assert . assertTrue ( java . util . Arrays . equals ( expected , actual ) )