### Question:
DeviceRequestPacket extends XBeeAPIPacket { public int getTransport() { return transport; } DeviceRequestPacket(int requestID, String target, byte[] requestData); static DeviceRequestPacket createPacket(byte[] payload); @Override boolean needsAPIFrameID(); @Override boolean isBroadcast(); void setRequestID(int requestID); int getRequestID(); int getTransport(); int getFlags(); void setRequestTarget(String target); String getRequestTarget(); void setRequestData(byte[] requestData); byte[] getRequestData(); @Override LinkedHashMap<String, String> getAPIPacketParameters();  }### Answer:
@Test public final void testGetTransport() { DeviceRequestPacket packet = new DeviceRequestPacket(requestID, target, data); assertThat("Returned transport is not the expected", packet.getTransport(), is(equalTo(0))); }