expected.add(createJobResponse("Cluster100", "workflow2", "job3"));
Resource.Type type = Resource.Type.Job;
Set<String> propertyIds = PropertyHelper.getPropertyIds(type);
JobFetcher jobFetcher = createMock(JobFetcher.class);
expect(jobFetcher.fetchJobDetails(propertyIds, null, "workflow2", null))
.andReturn(expected).once();
replay(jobFetcher);
Map<Resource.Type,String> keyPropertyIds = PropertyHelper
.getKeyPropertyIds(type);