122123124125126127128129130131132
assertTrue( Arrays.equals( Strings.getBytesUtf8( expected[i++] ), ad.getAdData() ) ); } // Check the encoding ByteBuffer bb = ByteBuffer.allocate( adMandatoryForKdc.computeLength() ); try { bb = adMandatoryForKdc.encode( bb );
979899100101102103104105106107
assertTrue( Arrays.equals( Strings.getBytesUtf8(expected[i++]), ad.getAdData() ) ); } // Check the encoding ByteBuffer bb = ByteBuffer.allocate( adMandatoryForKdc.computeLength() ); try { bb = adMandatoryForKdc.encode( bb );