vertx/src/test/java/eu/internetofus/common/vertx/OpenAPIValidatorTest.java
/**
   * Check that an value is valid.
   *
   * @param testId        identifier of the test.
   * @param specification that the value has to satisfy.
   * @param value         that is valid.
   * @param expectedValue the value that has to be valid.
   * @param vertx         event bus to use.
   * @param testContext   test cycle controller.
   *
   * @see OpenAPIValidator#validateValue(String, Vertx, JsonObject, Object)
   */
Check that an value is valid.
@param testId        identifier of the test.
@param specification that the value has to satisfy.
@param value         that is valid.
@param expectedValue the value that has to be valid.
@param vertx         event bus to use.
@param testContext   test cycle controller.


Check that an value is valid . @param testId identifier of the test . @param specification that the value has to satisfy . @param value that is valid . @param expectedValue the value that has to be valid . @param vertx event bus to use . @param testContext test cycle controller .
@ParameterizedTest(name = "{0}: Should {2} be valid")
  @MethodSource("validValues")
  public void shouldBeValidValue(final String testId, final JsonObject specification, final Object value,
      final Object expectedValue, final Vertx vertx, final VertxTestContext testContext) {
    assertSuccess(OpenAPIValidator.validateValue(ROOT, vertx, specification, value), expectedValue, testContext);
  }
@ ParameterizedTest ( name = "{0}: Should {2} be valid" ) @ MethodSource ( "validValues" ) public void shouldBeValidValue ( final String testId , final JsonObject specification , final Object value , final Object expectedValue , final Vertx vertx , final VertxTestContext testContext ) { assertSuccess ( OpenAPIValidator . validateValue ( ROOT , vertx , specification , value ) , expectedValue , testContext ) ; }
Check that an value is valid.
Check that an value is valid .