Set<HostResponse> allResponse = new HashSet<HostResponse>();
allResponse.add(new HostResponse("Host100", "Cluster100",
"", "", 2, "", "", "", 100000L, 200000L, null, 10L,
0L, "rack info", null, null,
new HostHealthStatus(HostHealthStatus.HealthStatus.HEALTHY, "HEALTHY"), "HEALTHY"));
allResponse.add(new HostResponse("Host101", "Cluster100",
"", "", 2, "", "", "", 100000L, 200000L, null, 10L,
0L, "rack info", null, null,
new HostHealthStatus(HostHealthStatus.HealthStatus.HEALTHY, "HEALTHY"), "HEALTHY"));
allResponse.add(new HostResponse("Host102", "Cluster100",
"", "", 2, "", "", "", 100000L, 200000L, null, 10L,
0L, "rack info", null, null,
new HostHealthStatus(HostHealthStatus.HealthStatus.HEALTHY, "HEALTHY"), "HEALTHY"));
// set expectations
expect(managementController.getHosts(
AbstractResourceProviderTest.Matcher.getHostRequestSet(null, "Cluster100", null))).
andReturn(allResponse).once();