@Test(dataProvider = com.linkedin.restli.internal.common.TestConstants.RESTLI_PROTOCOL_1_2_PREFIX + "requestOptionsDataProvider")
public void testCollectionBatchCreateId(RestliRequestOptions options) throws RemoteInvocationException
{
CustomTypes2RequestBuilders builders = new CustomTypes2RequestBuilders(options);
BatchCreateIdRequest<CustomLong, Greeting> request = builders.batchCreate().input(new Greeting().setId(1)).input(new Greeting().setId(2)).build();
Response<BatchCreateIdResponse<CustomLong>> response = REST_CLIENT.sendRequest(request).getResponse();
List<CreateIdStatus<CustomLong>> results = response.getEntity().getElements();
Set<CustomLong> expectedKeys = new HashSet<CustomLong>();
expectedKeys.add(new CustomLong(1L));