System.setProperty(JAVAX_NET_SSL_TRUST_STORE, getResource("localhost.keystore").getPath());
tempDir = Files.createTempDir().getCanonicalFile(); // getCanonicalFile needed to get around Issue 365 (http://code.google.com/p/guava-libraries/issues/detail?id=365)
config = new HttpServerConfig()
.setHttpPort(0)
.setLogPath(new File(tempDir, "http-request.log").getAbsolutePath());
nodeInfo = new NodeInfo("test-application", new NodeConfig()
.setEnvironment("test")
.setNodeInternalIp(InetAddresses.forString("127.0.0.1"))
.setNodeBindIp(InetAddresses.forString("127.0.0.1"))
.setNodeExternalAddress("localhost")
.setNodeInternalHostname("localhost")