b.add(i);
features.add(b.buildFeature(i + ""));
}
Double distance = new Double(500);
BufferFeatureCollection process = new BufferFeatureCollection();
SimpleFeatureCollection output = process.execute(features, distance, null);
assertEquals(2, output.size());
SimpleFeatureIterator iterator = output.features();
for (int i = 0; i < 2; i++) {
Geometry expected = gf.createPoint(new Coordinate(i, i)).buffer(distance);