private void connect(DoubleHandler<ILdapClientConnection, TestContext> handler) {
        TestCompletion completion = TestSuite.create("").test("",  context -> {
            Async async = context.async();
            ldapClientComponent.connect(config, connectionResult -> {
                context.assertTrue(connectionResult.isSuccess());
                connection = connectionResult.getResult();
                handler.handle(connection, context);
                async.complete();
            });
            async.awaitSuccess();
       }).run();
        completion.awaitSuccess();
    }
@author Marc Savy {@literal <msavy@redhat.com>}
gateway/platforms/vertx3/vertx3/src/test/java/io/apiman/gateway/platforms/vertx3/components/ldap/LdapQueryTests.java