@Test
public void testValidationWithValidResourceContent(TestContext context){

    Async async = context.async();
    prepareSchema(SAMPLE_SCHEMA);
    class GETValidationResourceRequest extends HttpServerRequestMock {
        @Override public HttpMethod method() {
            return HttpMethod.GET;
        }
        @Override public String uri() { return "/foo/mediadata/v1/specials/03";   }
        @Override public String path() {
            return "/foo/mediadata/v1/specials/03";
        }
    }
    String type = "GET/out";
    Buffer jsonBuffer = Buffer.buffer(CONTENT_MATCHING_SAMPLE_SCHEMA);
    validator.validate(new GETValidationResourceRequest(), type, jsonBuffer, validationResult -> {
        context.assertTrue(validationResult.isSuccess(), "ValidationResult should be a success (VALIDATED_POSITIV)");
        context.assertEquals(ValidationStatus.VALIDATED_POSITIV, validationResult.getValidationStatus());
        context.assertNull(validationResult.getMessage(), "Message should be null when validation result was positive");
        async.complete();
    });
}