components/src/test/java/eu/internetofus/common/components/models/RelevantLocationTest.java
/**
   * Check that not update model with bad latitude.
   *
   * @param vertx       event bus to use.
   * @param testContext test context to use.
   *
   * @see RelevantLocation#update(RelevantLocation, WeNetValidateContext)
   */
Check that not update model with bad latitude.
@param vertx       event bus to use.
@param testContext test context to use.


Check that not update model with bad latitude . @param vertx event bus to use . @param testContext test context to use .
@Test
  public void shouldNotUpdateWithABadLatitudeMoreThanMaximum(final Vertx vertx, final VertxTestContext testContext) {
    final var target = this.createModelExample(1);
    final var source = new RelevantLocation();
    source.latitude = 90.0001;
    assertCannotUpdate(target, source, "latitude", new WeNetValidateContext("codePrefix", vertx), testContext);
  }
@ Test public void shouldNotUpdateWithABadLatitudeMoreThanMaximum ( final Vertx vertx , final VertxTestContext testContext ) { final var target = this . createModelExample ( 1 ) ; final var source = new RelevantLocation ( ) ; source . latitude = 90.0001 ; assertCannotUpdate ( target , source , "latitude" , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; }
Check that not update model with bad latitude.
Check that not update model with bad latitude .