@Test public void should_not_retrieve_errors_when_send_match_phrase_request() throws Exception { JsonNode test1Json = mapper.readTree(PropertiesUtils.getResourceFile("operator_match_phrase_request.json")); final Schema schema = loadSchema(PropertiesUtils.getResourceFile("dsl.json")); Validator.validate(schema, "DSL", test1Json); }
public static void validate(Schema schema, String root, JsonNode document) throws ValidationException { new ValidatorEngine(schema).validate(document, root); }
Validator { public static void validate(Schema schema, String root, JsonNode document) throws ValidationException { new ValidatorEngine(schema).validate(document, root); } }
Validator { public static void validate(Schema schema, String root, JsonNode document) throws ValidationException { new ValidatorEngine(schema).validate(document, root); }  }
Validator { public static void validate(Schema schema, String root, JsonNode document) throws ValidationException { new ValidatorEngine(schema).validate(document, root); }  static void validate(Schema schema, String root, JsonNode document); }
Validator { public static void validate(Schema schema, String root, JsonNode document) throws ValidationException { new ValidatorEngine(schema).validate(document, root); }  static void validate(Schema schema, String root, JsonNode document);  }