expected.add(createWorkflowResponse("Cluster100", "workflow3"));
Resource.Type type = Resource.Type.Workflow;
Set<String> propertyIds = PropertyHelper.getPropertyIds(type);
WorkflowFetcher workflowFetcher = createMock(WorkflowFetcher.class);
expect(workflowFetcher.fetchWorkflows(propertyIds, "Cluster100", null))
.andReturn(expected).once();
replay(workflowFetcher);
Map<Resource.Type,String> keyPropertyIds = PropertyHelper
.getKeyPropertyIds(type);