components/src/test/java/eu/internetofus/common/components/task_manager/WeNetTaskManagerTestCase.java
/**
   * Should not add transaction into an undefined task.
   *
   * @param vertx       that contains the event bus to use.
   * @param testContext context over the tests.
   */
Should not add transaction into an undefined task.
@param vertx       that contains the event bus to use.
@param testContext context over the tests.
Should not add transaction into an undefined task . @param vertx that contains the event bus to use . @param testContext context over the tests .
@Test
  public void shouldNotAddMessageIntoUndefinedTask(final Vertx vertx, final VertxTestContext testContext) {
    final var message = new Message();
    testContext
        .assertFailure(this.createComponentProxy(vertx).addMessageIntoTransaction("undefined", "undefined", message))
        .onFailure(handler -> testContext.completeNow());
  }
@ Test public void shouldNotAddMessageIntoUndefinedTask ( final Vertx vertx , final VertxTestContext testContext ) { final var message = new Message ( ) ; testContext . assertFailure ( this . createComponentProxy ( vertx ) . addMessageIntoTransaction ( "undefined" , "undefined" , message ) ) . onFailure ( handler -> testContext . completeNow ( ) ) ; }
Should not add transaction into an undefined task.
Should not add transaction into an undefined task .