### Question:
IPv6RemoteATCommandRequestPacket extends XBeeAPIPacket { public byte[] getParameter() { return parameter; } IPv6RemoteATCommandRequestPacket(int frameID, Inet6Address destAddress, 
			int transmitOptions, String command, String parameter);  IPv6RemoteATCommandRequestPacket(int frameID, Inet6Address destAddress, 
			int transmitOptions, String command, byte[] parameter); static IPv6RemoteATCommandRequestPacket createPacket(byte[] payload); @Override boolean needsAPIFrameID(); @Override boolean isBroadcast(); Inet6Address getDestAddress(); 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 testGetParameter() { IPv6RemoteATCommandRequestPacket packet = new IPv6RemoteATCommandRequestPacket(frameID, ipv6address, transmitOptions, command, parameter); byte[] value = packet.getParameter(); assertThat("Returned parameter must be '" + HexUtils.prettyHexString(parameter) + "'", value, is(equalTo(parameter))); }
@Test public final void testGetParameterNullValue() { IPv6RemoteATCommandRequestPacket packet = new IPv6RemoteATCommandRequestPacket(frameID, ipv6address, transmitOptions, command, (byte[])null); byte[] value = packet.getParameter(); assertThat("Returned parameter must be 'null'", value, is(equalTo(null))); }