Resource.Type type = Resource.Type.Configuration;
AmbariManagementController managementController = createMock(AmbariManagementController.class);
Set<ConfigurationResponse> allResponse = new HashSet<ConfigurationResponse>();
allResponse.add(new ConfigurationResponse("Cluster100", "type", "tag1", null));
allResponse.add(new ConfigurationResponse("Cluster100", "type", "tag2", null));
allResponse.add(new ConfigurationResponse("Cluster100", "type", "tag3", null));
Set<ConfigurationResponse> orResponse = new HashSet<ConfigurationResponse>();
orResponse.add(new ConfigurationResponse("Cluster100", "type", "tag1", null));
orResponse.add(new ConfigurationResponse("Cluster100", "type", "tag2", null));
Capture<Set<ConfigurationRequest>> configRequestCapture1 = new Capture<Set<ConfigurationRequest>>();
Capture<Set<ConfigurationRequest>> configRequestCapture2 = new Capture<Set<ConfigurationRequest>>();
// set expectations