}
public void check(int index, SimpleFeature feature) {
assertEquals(4, feature.getAttributeCount());
Point p = gf.createPoint(new Coordinate(index, index));
assertTrue(p.equalsExact((Geometry) feature.getAttribute(aname("geometry"))));
Number ip = (Number) feature.getAttribute(aname("intProperty"));
assertEquals(index, ip.intValue());
}
});