@Test
public void insecureTransportIsSetupByDefaultWhenAuthIsNotConfigured() {

    // given
    Builder builder = createTestObjectFactoryBuilder();
    builder.withAuth(null);
    BulkProcessorObjectFactory factory = builder.build();
    // when
    ClientProvider clientProvider = factory.getClientProvider();
    // then
    Assert.assertTrue(clientProvider instanceof BulkProcessorObjectFactory.InsecureTransportClientProvider);
}