ValidationProcessor extends FilterProcessor { public Schema getSchema() { return validator.getSchema(); } ValidationProcessor(final Schema schema); @Override boolean test(final LazyElementCell elementCell); Schema getSchema();  }
@Test public void shouldConstructWithSchema() throws OperationException, SerialisationException { final ValidationProcessor processor = new ValidationProcessor(SCHEMA); assertEquals(SCHEMA, processor.getSchema()); }