### Question:
RadiusRequest { public Packet getRequestPacket() { return requestPacket; } RadiusRequest(Packet requestPacket); Packet getRequestPacket(); Attribute getAttribute(Class attributeType); String getUsername(); synchronized String getRequestId(); long getStartTimestampInMillis(); void setContextHolderKey(String cacheKey); String getContextHolderKey();  }### Answer:
@Test public void getRequestPacket() { AccessRequest packet = new AccessRequest((short) 1, mock(Authenticator.class)); RadiusRequest request = new RadiusRequest(packet); Packet returned = request.getRequestPacket(); assertThat(returned).isSameAs(packet); }