Map<String, String> properties = new ImmutableMap.Builder<String, String>()
.put("http-server.http.port", "0")
.put("http-server.log.path", new File(tempDir, "http-request.log").getAbsolutePath())
.build();
ConfigurationFactory configFactory = new ConfigurationFactory(properties);
Injector injector = Guice.createInjector(new HttpServerModule(),
new ApplicationNameModule("test-application"),
new TestingNodeModule(),
new ConfigurationModule(configFactory),
new NullEventModule(),