public void testCustomCrudParamsCollectionBatchDelete(ProtocolVersion version, String uri) throws Exception
{
ResourceModel model = buildResourceModel(CombinedResources.CollectionWithCustomCrudParams.class);
ResourceMethodDescriptor methodDescriptor = model.findMethod(ResourceMethod.BATCH_DELETE);
CombinedResources.CollectionWithCustomCrudParams resource = getMockResource(CombinedResources.CollectionWithCustomCrudParams.class);
@SuppressWarnings("rawtypes")
BatchDeleteRequest batchDeleteRequest =(BatchDeleteRequest)EasyMock.anyObject();
@SuppressWarnings("unchecked")
BatchUpdateResult<String, CombinedTestDataModels.Foo> batchUpdateResult =
resource.myBatchDelete(batchDeleteRequest, eq(1), eq("baz"));
EasyMock.expect(batchUpdateResult).andReturn(null).once();