components/src/test/java/eu/internetofus/common/components/models/LabelTest.java
/**
   * Check that a {@link Label} without a semantic_class is not valid.
   *
   * @param vertx       event bus to use.
   * @param testContext test context to use.
   *
   * @see RelevantLocation#validate(WeNetValidateContext)
   */
Check that a  Label without a semantic_class is not valid.
@param vertx       event bus to use.
@param testContext test context to use.


Check that a Label without a semantic_class is not valid . @param vertx event bus to use . @param testContext test context to use .
@Test
  public void shouldLabelWithoutSemanticClassNotBeValid(final Vertx vertx, final VertxTestContext testContext) {
    final var model = this.createModelExample(1);
    model.semantic_class = null;
    assertIsNotValid(model, "semantic_class", new WeNetValidateContext("codePrefix", vertx), testContext);
  }
@ Test public void shouldLabelWithoutSemanticClassNotBeValid ( final Vertx vertx , final VertxTestContext testContext ) { final var model = this . createModelExample ( 1 ) ; model . semantic_class = null ; assertIsNotValid ( model , "semantic_class" , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; }
Check that a {@link Label} without a semantic_class is not valid.
Check that a { @link Label } without a semantic_class is not valid .