buildPathKeys("statusID", 1L));
// #1.2: invalid entity
methodDescriptor = statusResourceModel.findMethod(ResourceMethod.CREATE);
statusResource = getMockResource(StatusCollectionResource.class);
EasyMock.expect(statusResource.create((Status)EasyMock.anyObject())).andReturn(null).once();
try
{
checkInvocation(statusResource,
methodDescriptor,
"POST",