  @Test
  public void testThatTaskNotSubmittedOnVertxEventLoopAreExecutedOnTheEventLoop(TestContext tc) {

    Async async = tc.async();
    final Context context = Vertx.currentContext();
    tc.assertNull(context);
    final Promise.DefaultPromise<String> promise = new Promise.DefaultPromise<>();
    promise.onComplete(ScalaUtils.toFunction1(v -> {
      tc.assertNotNull(Vertx.currentContext());
      async.complete();
    }), VertxEventLoopExecutionContext.create(vertx));
    promise.complete(new Success<>("hello"));
  }