@Test public void should_not_retrieve_any_exception_when_selectOnlyQueryMultiple() throws Exception { DslValidator dslValidator = new BatchProcessingQuerySchemaValidator(); JsonNode selectOnlyQueryMultiple = JsonHandler.getFromFile(PropertiesUtils.findFile("elimination-query-complete.json")); assertThatCode(() -> dslValidator.validate(selectOnlyQueryMultiple)).doesNotThrowAnyException(); }
@Override public void validate(JsonNode dsl) throws ValidationException { Validator.validate(schema, "DSL", dsl); }
BatchProcessingQuerySchemaValidator implements DslValidator { @Override public void validate(JsonNode dsl) throws ValidationException { Validator.validate(schema, "DSL", dsl); } }
BatchProcessingQuerySchemaValidator implements DslValidator { @Override public void validate(JsonNode dsl) throws ValidationException { Validator.validate(schema, "DSL", dsl); } BatchProcessingQuerySchemaValidator(); }
BatchProcessingQuerySchemaValidator implements DslValidator { @Override public void validate(JsonNode dsl) throws ValidationException { Validator.validate(schema, "DSL", dsl); } BatchProcessingQuerySchemaValidator(); @Override void validate(JsonNode dsl); }
BatchProcessingQuerySchemaValidator implements DslValidator { @Override public void validate(JsonNode dsl) throws ValidationException { Validator.validate(schema, "DSL", dsl); } BatchProcessingQuerySchemaValidator(); @Override void validate(JsonNode dsl);  }