vertx/src/test/java/eu/internetofus/common/vertx/OpenAPIValidatorTest.java
/**
   * Check that an specification is not valid.
   *
   * @param testId        identifier of the test.
   * @param specification that is not valid.
   * @param codePrefix    expected error code.
   * @param vertx         event bus to use.
   * @param testContext   test cycle controller.
   *
   * @see OpenAPIValidator#validateSpecification(String, Vertx, JsonObject)
   */
Check that an specification is not valid.
@param testId        identifier of the test.
@param specification that is not valid.
@param codePrefix    expected error code.
@param vertx         event bus to use.
@param testContext   test cycle controller.


Check that an specification is not valid . @param testId identifier of the test . @param specification that is not valid . @param codePrefix expected error code . @param vertx event bus to use . @param testContext test cycle controller .
@ParameterizedTest(name = "{0}: Should {1} not be valid")
  @MethodSource("invalidSpecifications")
  public void shouldNotBeValidSpecification(final String testId, final JsonObject specification,
      final String codePrefix, final Vertx vertx, final VertxTestContext testContext) {
    assertFail(OpenAPIValidator.validateSpecification(ROOT, vertx, specification), codePrefix, testContext);
  }
@ ParameterizedTest ( name = "{0}: Should {1} not be valid" ) @ MethodSource ( "invalidSpecifications" ) public void shouldNotBeValidSpecification ( final String testId , final JsonObject specification , final String codePrefix , final Vertx vertx , final VertxTestContext testContext ) { assertFail ( OpenAPIValidator . validateSpecification ( ROOT , vertx , specification ) , codePrefix , testContext ) ; }
Check that an specification is not valid.
Check that an specification is not valid .