### Question:
UdpMessageListenerWrapper extends MessageListenerWrapper { public InetSocketAddress getAddress() { return address; } UdpMessageListenerWrapper(Object msg, GenericFutureListener<Future<Void>> listener,
            InetSocketAddress address); InetSocketAddress getAddress();  }### Answer:
@Test public void test(){ int port = 9876; String host ="localhost"; InetSocketAddress inetSockAddr = InetSocketAddress.createUnresolved(host, port); UdpMessageListenerWrapper wrapper = new UdpMessageListenerWrapper(msg,listener,inetSockAddr); Assert.assertEquals("Wrong getAddress", inetSockAddr, wrapper.getAddress()); Assert.assertEquals("Wrong getListener", listener, wrapper.getListener()); Assert.assertEquals("Wrong getMsg", msg, wrapper.getMsg()); }