components/src/test/java/eu/internetofus/common/components/task_manager/WeNetTaskManagerTestCase.java
/**
   * Should not defined task type.
   *
   * @param vertx       that contains the event bus to use.
   * @param testContext context over the tests.
   */
Should not defined task type.
@param vertx       that contains the event bus to use.
@param testContext context over the tests.
Should not defined task type . @param vertx that contains the event bus to use . @param testContext context over the tests .
@Test
  public void shouldNotDefinedTaskType(final Vertx vertx, final VertxTestContext testContext) {
    testContext.assertComplete(this.createComponentProxy(vertx).isTaskTypeDefined("undefined-taskType-identifier"))
        .onSuccess(defined -> {
          testContext.verify(() -> {
            assertThat(defined).isFalse();
          });
          testContext.completeNow();
        });
  }
@ Test public void shouldNotDefinedTaskType ( final Vertx vertx , final VertxTestContext testContext ) { testContext . assertComplete ( this . createComponentProxy ( vertx ) . isTaskTypeDefined ( "undefined-taskType-identifier" ) ) . onSuccess ( defined -> { testContext . verify ( ( ) -> { assertThat ( defined ) . isFalse ( ) ; } ) ; testContext . completeNow ( ) ; } ) ; }
Should not defined task type.
Should not defined task type .