assertEquals(0, max.size());
}
public void testIteratorMax() throws Exception {
MaxSimpleFeatureCollection max = new MaxSimpleFeatureCollection(delegate, 2);
SimpleFeatureIterator i = max.features();
try {
for (int x = 0; x < 2; x++) {
assertTrue(i.hasNext());
i.next();
}