HttpServer server = new HttpServer(reqHdl);
server.start();
HttpClient httpClient = new HttpClient();
httpClient.setCacheMaxSizeKB(100);
httpClient.addInterceptor(new CacheHandler(5666));
IHttpResponse resp = httpClient.call(new GetRequest("http://localhost:" + server.getLocalPort() + "/"));
Assert.assertEquals(200, resp.getStatus());
Assert.assertEquals("test", resp.getBlockingBody().readString());
Assert.assertNull(resp.getHeader(CacheHandler.XHEADER_NAME));