public void stats() {
final ClientResponse response = webResource.path("stats").header("Authorization", authorizationBearer(ACCESS_TOKEN))
.get(ClientResponse.class);
assertEquals(200, response.getStatus());
StatisticsResponse entity = response.getEntity(StatisticsResponse.class);
assertTrue(entity.getResourceServers().size() > 0);
assertNotNull(entity.getResourceServers().get(0).getName());
}