### Question:
GenericXBeePacket extends XBeeAPIPacket { @Override public boolean isBroadcast() { return false; } GenericXBeePacket(byte[] rfData); static GenericXBeePacket createPacket(byte[] payload); @Override boolean needsAPIFrameID(); void setRFData(byte[] rfData); byte[] getRFData(); @Override boolean isBroadcast();  }### Answer:
@Test public final void testIsBroadcast() { byte[] data = new byte[]{0x68, 0x6F, 0x6C, 0x61};; GenericXBeePacket packet = new GenericXBeePacket(data); assertThat("Packet should not be broadcast", packet.isBroadcast(), is(equalTo(false))); }