120121122123124125126127128129130
} @Test public void testGetHeader() { EthernetHeader h = packet.getHeader(); assertEquals(dstAddr, h.getDstAddr()); assertEquals(srcAddr, h.getSrcAddr()); assertEquals(type, h.getType()); assertArrayEquals(pad, packet.getPad()); }