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


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