getClient().getConfiguration().setContinueOnError(false);
}
@Test
public void badRequestInChangeSet() {
ClientObjectFactory factory = getFactory();
<BUG>final ClientEntity entity = factory.newEntity(ES_NOT_AVAILABLE);
entity.getProperties().add(factory.newPrimitiveProperty(PROPERTY_STRING, factory
.newPrimitiveValueBuilder()
.buildString("1")));
final ODataBatchRequest batchRequest = getClient().getBatchRequestFactory().getBatchRequest(SERVICE_URI);
final BatchManager payloadManager = batchRequest.payloadManager();</BUG>
final ODataChangeset changeset = payloadManager.addChangeset();

getClient().getConfiguration().setContinueOnError(false);
}
@Test
public void badRequestInChangeSet() {
ClientObjectFactory factory = getFactory();
final ClientEntity entity = factory.newEntity(ES_NOT_AVAILABLE);
entity.getProperties().add(
factory.newPrimitiveProperty(PROPERTY_STRING, factory.newPrimitiveValueBuilder().buildString("1")));
BatchManager payloadManager = getClient().getBatchRequestFactory().getBatchRequest(SERVICE_URI).payloadManager();
final ODataChangeset changeset = payloadManager.addChangeset();
