components/src/test/java/eu/internetofus/common/components/task_manager/WeNetTaskManagerTestCase.java
/**
   * Should not update undefined task type.
   *
   * @param vertx       that contains the event bus to use.
   * @param testContext context over the tests.
   */
Should not update undefined task type.
@param vertx       that contains the event bus to use.
@param testContext context over the tests.
Should not update undefined task type . @param vertx that contains the event bus to use . @param testContext context over the tests .
@Test
  public void shouldNotUpdateUndefinedTaskType(final Vertx vertx, final VertxTestContext testContext) {
    testContext
        .assertFailure(this.createComponentProxy(vertx).updateTaskType("undefined-taskType-identifier", new TaskType()))
        .onFailure(handler -> testContext.completeNow());
  }
@ Test public void shouldNotUpdateUndefinedTaskType ( final Vertx vertx , final VertxTestContext testContext ) { testContext . assertFailure ( this . createComponentProxy ( vertx ) . updateTaskType ( "undefined-taskType-identifier" , new TaskType ( ) ) ) . onFailure ( handler -> testContext . completeNow ( ) ) ; }
Should not update undefined task type.
Should not update undefined task type .