r.path("ws").path("v1").path("slider").path("mgmt").path("app").path("configurations").path(
"appConf")
.accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
assertEquals(200, response.getStatus());
assertEquals(MediaType.APPLICATION_JSON_TYPE, response.getType());
ConfTreeResource json = response.getEntity(ConfTreeResource.class);
assertEquals("wrong href",
"http://localhost:9998/slideram/ws/v1/slider/mgmt/app/configurations/appConf",
json.getHref());
Map<String,Map<String, String>> components = json.getComponents();
assertNotNull("no components", components);
assertEquals("incorrect number of components", 2, components.size());
assertNotNull("wrong component", components.get("worker"));
}