client.setIoHandler(new AbstractIoHandler() {
});
for (int i = 0; i < CLIENT_COUNT; ++i) {
client.connect(new InetSocketAddress(server.getServerSocketChannel().socket().getLocalPort())).get();
}
client.disconnect();
assertTrue(closedLatch.await(WAIT_TIME, TimeUnit.MILLISECONDS));
}
private class Handler extends AbstractIoHandler {