}
}
@Test
public void testGetHeader() {
IcmpV6RouterAdvertisementHeader h = packet.getHeader();
assertEquals(curHopLimit, h.getCurHopLimit());
assertEquals(managedAddressConfigurationFlag, h.getManagedAddressConfigurationFlag());
assertEquals(otherConfigurationFlag, h.getOtherConfigurationFlag());
assertEquals(reserved, h.getReserved());
assertEquals(routerLifetime, h.getRouterLifetime());
assertEquals(reachableTime, h.getReachableTime());
assertEquals(retransTimer, h.getRetransTimer());
Iterator<IpV6NeighborDiscoveryOption> iter = h.getOptions().iterator();
for (IpV6NeighborDiscoveryOption expected: options) {
IpV6NeighborDiscoveryOption actual = iter.next();
assertEquals(expected, actual);
}