}
}
@Test
public void testGetHeader() {
IpV6ExtHopByHopOptionsHeader h = packet.getHeader();
assertEquals(nextHeader, h.getNextHeader());
assertEquals(hdrExtLen, h.getHdrExtLen());
assertEquals(options.size(), h.getOptions().size());
Iterator<IpV6Option> iter = h.getOptions().iterator();
for (IpV6Option opt: options) {
assertEquals(opt, iter.next());
}
IpV6ExtHopByHopOptionsPacket.Builder b = packet.getBuilder();