@Test
public void testSendFileDirectory() throws Exception {
File fDir = testFolder.newFolder();
server.connectHandler(socket -> {
SocketAddress addr = socket.remoteAddress();
assertEquals("127.0.0.1", addr.hostAddress());
}).listen(ar -> {
assertTrue(ar.succeeded());
client.connect(1234, "localhost", result -> {
assertTrue(result.succeeded());
NetSocket socket = result.result();