void function ( ) { Redirect loc0 = new Redirect ( ) ; loc0 . setTargetAddress ( TARGET_ADDRESS ) ; loc0 . setDestinationAddress ( DESTINATION_ADDRESS ) ; loc0 . addOption ( NeighborDiscoveryOptions . TYPE_TARGET_LL_ADDRESS , MAC_ADDRESS . toBytes ( ) ) ; assertArrayEquals ( loc0 . serialize ( ) , bytePacket ) ; }
tests serialize and setters . concode_field_sep byte[] DESTINATION_ADDRESS2 concode_elem_sep byte[] TARGET_ADDRESS concode_elem_sep byte[] bytePacket concode_elem_sep Deserializer<Redirect> deserializer concode_elem_sep MacAddress MAC_ADDRESS concode_elem_sep byte[] DESTINATION_ADDRESS concode_field_sep void setUpBeforeClass concode_elem_sep void testToStringRedirect concode_elem_sep void testDeserializeBadInput concode_elem_sep void testDeserializeTruncated concode_elem_sep void testEqual concode_elem_sep void testDeserialize