### Question:
RemoteATCommandPacket extends XBeeAPIPacket { @Override public boolean isBroadcast() { return get64bitDestinationAddress().equals(XBee64BitAddress.BROADCAST_ADDRESS) || get16bitDestinationAddress().equals(XBee16BitAddress.BROADCAST_ADDRESS); } RemoteATCommandPacket(int frameID, XBee64BitAddress destAddress64, XBee16BitAddress destAddress16, 
			int transmitOptions, String command, String parameter);  RemoteATCommandPacket(int frameID, XBee64BitAddress destAddress64, XBee16BitAddress destAddress16, 
			int transmitOptions, String command, byte[] parameter); static RemoteATCommandPacket createPacket(byte[] payload); @Override boolean needsAPIFrameID(); @Override boolean isBroadcast(); XBee64BitAddress get64bitDestinationAddress(); XBee16BitAddress get16bitDestinationAddress(); int getTransmitOptions(); String getCommand(); void setParameter(String parameter); void setParameter(byte[] parameter); byte[] getParameter(); String getParameterAsString(); @Override LinkedHashMap<String, String> getAPIPacketParameters();  }### Answer:
@Test public final void testIsBroadcastWithNon16BitAndNon64BitBroadcastDestinationAddress() { int frameID = 0x10; XBee64BitAddress dest64Addr = new XBee64BitAddress("0013A2004032D9AB"); XBee16BitAddress dest16Addr = new XBee16BitAddress("D817"); int options = 23; String command = "DL"; byte[] parameter = new byte[]{0x6D, 0x79}; RemoteATCommandPacket packet = new RemoteATCommandPacket(frameID, dest64Addr, dest16Addr, options, command, parameter); assertThat("Packet should not be broadcast", packet.isBroadcast(), is(equalTo(false))); }
@Test public final void testIsBroadcastWith16BitAnd64BitBroadcastDestinationAddress() { int frameID = 0x10; XBee64BitAddress dest64Addr = new XBee64BitAddress("FFFF"); XBee16BitAddress dest16Addr = new XBee16BitAddress("FFFF"); int options = 23; String command = "DL"; byte[] parameter = new byte[]{0x6D, 0x79}; RemoteATCommandPacket packet = new RemoteATCommandPacket(frameID, dest64Addr, dest16Addr, options, command, parameter); assertThat("Packet should be broadcast", packet.isBroadcast(), is(equalTo(true))); }
@Test public final void testIsBroadcastWithNon16BitBroadcastAnd64BitBroadcastDestinationAddress() { int frameID = 0x10; XBee64BitAddress dest64Addr = new XBee64BitAddress("FFFF"); XBee16BitAddress dest16Addr = new XBee16BitAddress("DEF1"); int options = 23; String command = "DL"; byte[] parameter = new byte[]{0x6D, 0x79}; RemoteATCommandPacket packet = new RemoteATCommandPacket(frameID, dest64Addr, dest16Addr, options, command, parameter); assertThat("Packet should be broadcast", packet.isBroadcast(), is(equalTo(true))); }
@Test public final void testIsBroadcastWith16BitBroadcastAndNon64BitBroadcastDestinationAddress() { int frameID = 0x10; XBee64BitAddress dest64Addr = new XBee64BitAddress("0013A2004032D9AB"); XBee16BitAddress dest16Addr = new XBee16BitAddress("FFFF"); int options = 23; String command = "DL"; byte[] parameter = new byte[]{0x6D, 0x79}; RemoteATCommandPacket packet = new RemoteATCommandPacket(frameID, dest64Addr, dest16Addr, options, command, parameter); assertThat("Packet should be broadcast", packet.isBroadcast(), is(equalTo(true))); }