parentNode.setProperty("isCollection", "true");
ResourceProviderFactory factory = createMock(ResourceProviderFactory.class);
AmbariManagementController managementController = createMock(AmbariManagementController.class);
ResourceProvider serviceResourceProvider = new ServiceResourceProvider(PropertyHelper
.getPropertyIds(Resource.Type.Service),
PropertyHelper.getKeyPropertyIds(Resource.Type.Service),
managementController);
expect(factory.getServiceResourceProvider(anyObject(Set.class),