### Question:
VersionMessageUdpWrapper extends VersionMessageWrapper { public InetSocketAddress getAddress() { return address; } VersionMessageUdpWrapper(final short version, final ByteBuf messageBuffer, final InetSocketAddress address); InetSocketAddress getAddress();  }### Answer:
@Test public void test(){ short version = 35; int port = 9876; String host ="localhost"; InetSocketAddress inetSockAddr = InetSocketAddress.createUnresolved(host, port); VersionMessageUdpWrapper wrapper = new VersionMessageUdpWrapper(version,byteBuff,inetSockAddr); Assert.assertEquals("Wrong getAddress", inetSockAddr, wrapper.getAddress()); Assert.assertEquals("Wrong getVersion", version, wrapper.getVersion()); Assert.assertEquals("Wrong getVersion", byteBuff, wrapper.getMessageBuffer()); }