final Verifier delegate = verifierFactory.createVerifier(definition, context);
return new Verifier() {
@Override
public List<Difference> verify(DataModelSource results) throws IOException {
DataModelSource filtered = sourceFilter.apply(results);
return delegate.verify(filtered);
}
@Override
public void close() throws IOException {
delegate.close();
}