### Question:
ModemStatusPacket extends XBeeAPIPacket { @Override public boolean isBroadcast() { return false; } ModemStatusPacket(ModemStatusEvent modemStatusEvent); static ModemStatusPacket createPacket(byte[] payload); @Override byte[] getAPIPacketSpecificData(); @Override boolean needsAPIFrameID(); ModemStatusEvent getStatus(); @Override boolean isBroadcast(); @Override LinkedHashMap<String, String> getAPIPacketParameters();  }### Answer:
@Test public final void testIsBroadcast() { ModemStatusEvent modemStatusEvent = ModemStatusEvent.STATUS_JOINED_NETWORK; ModemStatusPacket packet = new ModemStatusPacket(modemStatusEvent); assertThat("Packet should not be broadcast", packet.isBroadcast(), is(equalTo(false))); }