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


Check that a Label with a bad longitude value is not valid . @param value that is not valid for a longitude . @param vertx event bus to use . @param testContext test context to use .
@ParameterizedTest(name = "Should a Label with a {0} longitude not be valid")
  @ValueSource(doubles = { -180.1, 180.1, -180.00001, 180.000001 })
  public void shouldLabelWitBadLongitudeNotBeValid(final double value, final Vertx vertx,
      final VertxTestContext testContext) {
    final var model = this.createModelExample(1);
    model.longitude = value;
    assertIsNotValid(model, "longitude", new WeNetValidateContext("codePrefix", vertx), testContext);
  }
@ ParameterizedTest ( name = "Should a Label with a {0} longitude not be valid" ) @ ValueSource ( doubles = { - 180.1 , 180.1 , - 180.00001 , 180.000001 } ) public void shouldLabelWitBadLongitudeNotBeValid ( final double value , final Vertx vertx , final VertxTestContext testContext ) { final var model = this . createModelExample ( 1 ) ; model . longitude = value ; assertIsNotValid ( model , "longitude" , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; }
Check that a {@link Label} with a bad longitude value is not valid.
Check that a { @link Label } with a bad longitude value is not valid .