}
@Test
public void testGetHeader() {
IpV6Header h = packet.getHeader();
assertEquals(version, h.getVersion());
assertEquals(trafficClass, h.getTrafficClass());
assertEquals(flowLabel, h.getFlowLabel());
assertEquals(payloadLength, h.getPayloadLength());
assertEquals(nextHeader, h.getNextHeader());
assertEquals(hopLimit, h.getHopLimit());
assertEquals(srcAddr, h.getSrcAddr());
assertEquals(dstAddr, h.getDstAddr());
IpV6Packet.Builder b = packet.getBuilder();
IpV6Packet p;
b.payloadLength((short)0);