static void resetDB(TestContext context, JdbcOptionsBean options, Vertx vertx) {
        Async async = context.async();
        IJdbcComponent component = new JdbcClientComponentImpl(vertx, null, null); // Other two params aren't used.
        IJdbcClient client = component.createStandalone(options);

        client.connect(explodeOnFailure(context, async, connectionResult -> {
            System.out.println("Dropping everything in the DB!");
            IJdbcConnection connection = connectionResult;
            connection.execute(explodeOnFailure(context, async,
                    onSuccess -> {
                        System.out.println("Successfully reset DB!");
                        async.complete();
                    }),
                    "DROP ALL OBJECTS DELETE FILES");
        }));
    }
Handler that fails tests if result is unsuccessful, with the exception included in the error.

@param context the test context
@param async the async object
@param successHandler the success handler, called only if the result was successful
@return the result handler
gateway/platforms/vertx3/vertx3/src/test/java/io/apiman/gateway/platforms/vertx3/components/jdbc/SpecHelpers.java