// expectations
expect(request.getResource()).andReturn(resource);
expect(request.getHttpBodyProperties()).andReturn(setResourceProperties);
expect(request.getQueryPredicate()).andReturn(null).atLeastOnce();
expect(pm.create(resource, setResourceProperties)).andReturn(status);
expect(status.getStatus()).andReturn(RequestStatus.Status.Accepted);
expect(status.getAssociatedResources()).andReturn(setResources);
expect(resource1.getType()).andReturn(Resource.Type.Cluster).anyTimes();
expect(resource2.getType()).andReturn(Resource.Type.Cluster).anyTimes();
expect(status.getRequestResource()).andReturn(requestResource).anyTimes();