@Test(dataProvider = com.linkedin.restli.internal.common.TestConstants.RESTLI_PROTOCOL_1_2_PREFIX + "requestOptionsDataProvider")
public void testBatchCreateIdErrors(RestliRequestOptions requestOptions) throws Exception
{
ExceptionsRequestBuilders builders = new ExceptionsRequestBuilders(requestOptions);
BatchCreateIdRequest<Long, Greeting> batchCreateRequest = builders.batchCreate()
.input(new Greeting().setId(10L).setMessage("Greetings.").setTone(Tone.SINCERE))
.input(new Greeting().setId(11L).setMessage("@#$%@!$%").setTone(Tone.INSULTING))
.build();
Response<BatchCreateIdResponse<Long>> response = REST_CLIENT.sendRequest(batchCreateRequest).getResponse();