Set<StackConfigurationRequest> serviceConfigurationRequest1 = serviceConfigurationRequestCapture1.getValue();
Set<StackConfigurationRequest> serviceConfigurationRequest2 = serviceConfigurationRequestCapture2.getValue();
assertEquals(1, serviceConfigurationRequest1.size());
assertEquals(1, serviceConfigurationRequest2.size());
StackConfigurationRequest configReq1 = serviceConfigurationRequest1.iterator().next();
StackConfigurationRequest configReq2 = serviceConfigurationRequest2.iterator().next();
assertNull(configReq1.getPropertyName());
assertNull(configReq2.getPropertyName());
assertEquals("1.23", configReq1.getStackVersion());
assertEquals("1.23", configReq2.getStackVersion());
assertEquals("test", configReq1.getStackName());
assertEquals("test", configReq2.getStackName());
assertTrue(configReq1.getServiceName().equals("service1") || configReq1.getServiceName().equals("service2"));
assertTrue(configReq2.getServiceName().equals("service1") || configReq2.getServiceName().equals("service2") &&
! configReq2.getServiceName().equals(configReq1.getServiceName()));
ClusterRequest clusterRequest = createClusterRequestCapture.getValue();
assertEquals(clusterName, clusterRequest.getClusterName());
assertEquals("test-1.23", clusterRequest.getStackVersion());