components/src/test/java/eu/internetofus/common/components/models/MeaningTest.java
/**
   * Check that the meaning is not valid if has a bad category.
   *
   * @param category    that is invalid.
   * @param vertx       event bus to use.
   * @param testContext test context to use.
   */
Check that the meaning is not valid if has a bad category.
@param category    that is invalid.
@param vertx       event bus to use.
@param testContext test context to use.
Check that the meaning is not valid if has a bad category . @param category that is invalid . @param vertx event bus to use . @param testContext test context to use .
@ParameterizedTest(name = "Should not be valid with the category {0}")
  @NullSource
  public void shouldNotBeValidWithABadCategory(final String category, final Vertx vertx,
      final VertxTestContext testContext) {
    final var model = this.createModelExample(1);
    model.category = category;
    assertIsNotValid(model, "category", new WeNetValidateContext("codePrefix", vertx), testContext);
  }
@ ParameterizedTest ( name = "Should not be valid with the category {0}" ) @ NullSource public void shouldNotBeValidWithABadCategory ( final String category , final Vertx vertx , final VertxTestContext testContext ) { final var model = this . createModelExample ( 1 ) ; model . category = category ; assertIsNotValid ( model , "category" , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; }
Check that the meaning is not valid if has a bad category.
Check that the meaning is not valid if has a bad category .