server.shutdown();
}
@Test
public void testRequestReplySequence() throws InterruptedException, ExecutionException, TimeoutException {
HelloWorldClient client = new HelloWorldClient(DEFAULT_PORT); // The client is no different than hello world.
HttpResponseStatus statusCode = client.sendHelloRequest().getStatus();
Assert.assertEquals(HttpResponseStatus.OK, statusCode);
}