static void createTableAndPopulateData(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("Successfully connected!");
            IJdbcConnection connection = connectionResult;
            String createTableSql = "create table APIMAN\n" +
                    "    (PLACE_ID integer NOT NULL,\n" +
                    "    COUNTRY varchar(40) NOT NULL,\n" +
                    "    CITY varchar(20) NOT NULL,\n" +
                    "    FOUNDING datetime NOT NULL,\n" +
                    "    PRIMARY KEY (PLACE_ID));";
            String insertSql = "insert into APIMAN (PLACE_ID, COUNTRY, CITY, FOUNDING)\n" +
                    "     VALUES  (1, 'Seychelles', 'Victoria', '1976-06-29 00:00:00'), " + // June 29, 1976
                    "             (2, 'United States', 'Newtown', '1788-01-09 00:00:00')," + // January 9, 1788
                    "             (3, 'United States', 'Miami', '1896-07-28 00:00:00');"; // July 28, 1896
            connection.execute(
                    explodeOnFailure(context, async, onSuccess1 -> {
                        connection.execute(
                                explodeOnFailure(context, async, onSuccess2 -> { async.complete(); }),
                                insertSql);
                    }),
                    createTableSql
                    );
        }));
    }
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