@Test
public void isSucceededReturnsFalseWhenErrorsIsFalseAndBulkErrorIsNotNull() {

    // given
    BufferedBulkResult result = createTestBufferedBulkResult(false, new BulkError());
    // when
    boolean succeeded = result.isSucceeded();
    // then
    Assert.assertFalse(succeeded);
}