// #4 Complex-key resource create
methodDescriptor = discoveredItemsResourceModel.findMethod(ResourceMethod.CREATE);
discoveredItemsResource = getMockResource(DiscoveredItemsResource.class);
EasyMock.expect(
discoveredItemsResource.create((DiscoveredItem)EasyMock.anyObject())).andReturn(null).once();
checkInvocation(discoveredItemsResource,
methodDescriptor,
"POST",
version,
"/discovereditems",