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