}
public void testVisitor() throws IOException {
Filter filter = ff.equal(ff.property("someAtt"), ff.literal("1"), false);
SimpleFeatureCollection collection = new FilteringSimpleFeatureCollection(delegate, filter);
collection.accepts(new FeatureVisitor() {
public void visit(Feature feature) {
assertEquals(1, feature.getProperty("someAtt").getValue());
}