	@Test
	public void verifyHttpServerAvailable() throws IOException {

		AppServiceHub serviceHub = Mockito.mock(AppServiceHub.class);
		HttpService service = new HttpService(serviceHub);
		try {
			String url = "http://127.0.0.1:" + service.getPort() + "/hello";
			HttpClient client = HttpClientBuilder.create().build();
			HttpResponse response = client.execute(new HttpGet(url));
			assertThat(response.getStatusLine().getStatusCode()).isEqualTo(200);
			assertThat(EntityUtils.toString(response.getEntity())).isEqualTo("World");
		} finally {
			service.destroy();
		}
	}