src/test/java/edu/ucla/library/bucketeer/verticles/SlackMessageVerticleTest.java
@After
    public void tearDown(final TestContext aContext) throws Exception {
        final Async async = aContext.async();

        myVertx.close(result -> {
            if (!result.succeeded()) {
                final String message = LOGGER.getMessage(MessageCodes.BUCKETEER_015);

                LOGGER.error(message);
                aContext.fail(message);
            } else {
                TestUtils.complete(async);
            }
        });
    }
/**
     * The tests' tear down.
     *
     * @param aContext A test context
     * @throws Exception If there is trouble closing down the Vert.x instance
     */
The tests' tear down.
@param aContext A test context
@throws Exception If there is trouble closing down the Vert.x instance
The tests ' tear down . @param aContext A test context @throws Exception If there is trouble closing down the Vert . x instance
@After
    public void tearDown(final TestContext aContext) throws Exception {
        final Async async = aContext.async();
        myVertx.close(result -> {
            if (!result.succeeded()) {
                final String message = LOGGER.getMessage(MessageCodes.BUCKETEER_015);
                LOGGER.error(message);
                aContext.fail(message);
            } else {
                TestUtils.complete(async);
            }
        });
    }
@ After public void tearDown ( final TestContext aContext ) throws Exception { final Async async = aContext . async ( ) ; myVertx . close ( result -> { if ( ! result . succeeded ( ) ) { final String message = LOGGER . getMessage ( MessageCodes . BUCKETEER_015 ) ; LOGGER . error ( message ) ; aContext . fail ( message ) ; } else { TestUtils . complete ( async ) ; } } ) ; }
The tests' tear down.
The tests ' tear down .