Vert.X Logo

SetUp


public class MyVerticleTest extends TestVerticle {
    @Override public void start() {
        initialize();
        container.deployVerticle(MyVerticle.class, dummyConfig,
                new  Handler<AsyncResult<String>>() {
            public void handle(AsyncResult<String> asyncResult) {
                VertxAssert.assertTrue(asyncResult.succeeded());
                startTests();
            }
        });
    }

    ...