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


Check that the model with id is valid . @param vertx event bus to use . @param testContext test context to use .
@Test
  public void shouldBeValidWithAnId(final Vertx vertx, final VertxTestContext testContext) {
    final var model = new RelevantLocation();
    model.id = "has_id";
    assertIsValid(model, new WeNetValidateContext("codePrefix", vertx), testContext);
  }
@ Test public void shouldBeValidWithAnId ( final Vertx vertx , final VertxTestContext testContext ) { final var model = new RelevantLocation ( ) ; model . id = "has_id" ; assertIsValid ( model , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; }
Check that the model with id is valid.
Check that the model with id is valid .