@Test
public void testValidateInvalidJson(TestContext context) {

    Async async = context.async();
    configurationResourceValidator = new ConfigurationResourceValidator(vertx);
    configurationResourceValidator.validateConfigurationResource(Buffer.buffer(INVALID_JSON_CONTENT), PERSON_SCHEMA, event -> {
        context.assertTrue(event.succeeded());
        context.assertEquals(ValidationStatus.VALIDATED_NEGATIV, event.result().getValidationStatus());
        String expectedMessage = "Unable to parse json";
        context.assertEquals(expectedMessage, event.result().getMessage());
        async.complete();
    });
}