assertThat(response.getStatusCode(), equalTo(RestStatus.OK.getStatus()));
}
@Test
public void localhostClientIsNotIpAuthenticated() throws Exception {
HttpResponse response = httpClient().path("/_status").execute();
assertThat(response.getStatusCode(), equalTo(RestStatus.UNAUTHORIZED.getStatus()));
}