components/src/test/java/eu/internetofus/common/components/models/TaskTypeTest.java
/**
   * Check that the model is valid with a description with spaces.
   *
   * @param vertx       event bus to use.
   * @param testContext test context to use.
   *
   * @see TaskType#validate(WeNetValidateContext)
   */
Check that the model is valid with a description with spaces.
@param vertx       event bus to use.
@param testContext test context to use.


Check that the model is valid with a description with spaces . @param vertx event bus to use . @param testContext test context to use .
@Test
  public void shouldBeValidADescriptionWithSpaces(final Vertx vertx, final VertxTestContext testContext) {
    final var model = this.createModelExample(1);
    model.description = "   description   ";
    assertIsValid(model, new WeNetValidateContext("codePrefix", vertx), testContext,
        () -> assertThat(model.description).isEqualTo("description"));
  }
@ Test public void shouldBeValidADescriptionWithSpaces ( final Vertx vertx , final VertxTestContext testContext ) { final var model = this . createModelExample ( 1 ) ; model . description = "   description   " ; assertIsValid ( model , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext , ( ) -> assertThat ( model . description ) . isEqualTo ( "description" ) ) ; }
Check that the model is valid with a description with spaces.
Check that the model is valid with a description with spaces .