@Test
public void testValidateValidJsonWithInvalidSchemaMissingDeclarationProvided(TestContext context) {

    Async async = context.async();
    configurationResourceValidator = new ConfigurationResourceValidator(vertx);
    configurationResourceValidator.validateConfigurationResource(Buffer.buffer(CONTENT_MATCHING_PERSON_SCHEMA), INVALID_SCHEMA_MISSING_DECLARATION, event -> {
        context.assertTrue(event.succeeded());
        context.assertEquals(ValidationStatus.VALIDATED_NEGATIV, event.result().getValidationStatus());
        String expectedMessage = "Invalid schema: Expected property '$schema'";
        context.assertTrue(event.result().getMessage().startsWith(expectedMessage));
        async.complete();
    });
}