@Test
public void createsBufferedBulkOperationsByDefault() {

    // given
    BufferedJestHttpObjectFactory factory = spy(createTestObjectFactoryBuilder().build());
    // when
    BatchOperations<Bulk> batchOperation = factory.createBatchOperations();
    // then
    assertEquals(BufferedBulkOperations.class, batchOperation.getClass());
}