@Test
public void createsBatchOperations() {

    // given
    BatchEmitterFactory factory = new BulkEmitterFactory();
    HCHttp clientObjectFactory = Mockito.spy(createDefaultHttpObjectFactoryBuilder().build());
    // when
    factory.createInstance(1, 1, clientObjectFactory, new NoopFailoverPolicy());
    // then
    Mockito.verify(clientObjectFactory).createBatchOperations();
}