WebResource r = resource();
ClientResponse response = r.path("ws").path("v1").path("slider").path("mgmt").path("app")
.accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
assertEquals(200, response.getStatus());
assertEquals(MediaType.APPLICATION_JSON_TYPE, response.getType());
AggregateConfResource json = response.getEntity(AggregateConfResource.class);
assertEquals("wrong href",
"http://localhost:9998/slideram/ws/v1/slider/mgmt/app",
json.getHref());
assertNotNull("no resources", json.getResources());
assertNotNull("no internal", json.getInternal());
assertNotNull("no appConf", json.getAppConf());
}