// #1 Batch delete on collection resource
methodDescriptor = statusResourceModel.findMethod(ResourceMethod.BATCH_DELETE);
statusResource = getMockResource(PromiseStatusCollectionResource.class);
@SuppressWarnings("rawtypes")
BatchDeleteRequest batchDeleteRequest =(BatchDeleteRequest)EasyMock.anyObject();
EasyMock.expect(statusResource.batchDelete(batchDeleteRequest)).andReturn(
Promises.<BatchUpdateResult<Long, Status>> value(null)).once();
checkInvocation(statusResource,
methodDescriptor,
"DELETE",
version,