public void testCustomCrudParamsCollectionBatchCreate(ProtocolVersion version, String uri, String body) throws Exception
{
ResourceModel model = buildResourceModel(CombinedResources.CollectionWithCustomCrudParams.class);
ResourceMethodDescriptor methodDescriptor = model.findMethod(ResourceMethod.BATCH_CREATE);
CombinedResources.CollectionWithCustomCrudParams resource = getMockResource(CombinedResources.CollectionWithCustomCrudParams.class);
@SuppressWarnings("rawtypes")
BatchCreateRequest batchCreateRequest =(BatchCreateRequest)EasyMock.anyObject();
@SuppressWarnings("unchecked")
BatchCreateResult<String, CombinedTestDataModels.Foo> batchCreateResult =
resource.myBatchCreate(batchCreateRequest, eq(1), eq("bar"));
EasyMock.expect(batchCreateResult).andReturn(null).once();