### Question:
RemoteATCommandResponsePacket extends XBeeAPIPacket { public byte[] getCommandValue() { return commandValue; } RemoteATCommandResponsePacket(int frameID, XBee64BitAddress sourceAddress64, XBee16BitAddress sourceAddress16, 
			String command, ATCommandStatus status, byte[] commandValue); static RemoteATCommandResponsePacket createPacket(byte[] payload); @Override boolean needsAPIFrameID(); XBee64BitAddress get64bitSourceAddress(); XBee16BitAddress get16bitSourceAddress(); ATCommandStatus getStatus(); String getCommand(); void setCommandValue(String commandValue); void setCommandValue(byte[] commandValue); byte[] getCommandValue(); String getCommandValueAsString(); @Override boolean isBroadcast(); @Override LinkedHashMap<String, String> getAPIPacketParameters();  }### Answer:
@Test public final void testGetCommandValue() { int frameID = 0x10; XBee64BitAddress source64Addr = new XBee64BitAddress("0013A2004032D9AB"); XBee16BitAddress source16Addr = new XBee16BitAddress("D817"); ATCommandStatus status = ATCommandStatus.OK; String command = "NI"; String valueToSet = "newNIValue"; RemoteATCommandResponsePacket packet = new RemoteATCommandResponsePacket(frameID, source64Addr, source16Addr, command, status, valueToSet.getBytes()); byte[] value = packet.getCommandValue(); assertThat("Returned command value must be '" + valueToSet + "'", value, is(equalTo(valueToSet.getBytes()))); }
@Test public final void testGetCommandValueNullValue() { int frameID = 0x10; XBee64BitAddress source64Addr = new XBee64BitAddress("0013A2004032D9AB"); XBee16BitAddress source16Addr = new XBee16BitAddress("D817"); ATCommandStatus status = ATCommandStatus.OK; String command = "NI"; RemoteATCommandResponsePacket packet = new RemoteATCommandResponsePacket(frameID, source64Addr, source16Addr, command, status, null); byte[] value = packet.getCommandValue(); assertThat("Returned command value must be 'null'", value, is(equalTo(null))); }