fc.add(fb.buildFeature(null));
}
@Test
public void testSchema() {
CentroidProcess cp = new CentroidProcess();
SimpleFeatureCollection result = cp.execute(fc);
SimpleFeatureType ft = result.getSchema();
assertEquals(2, ft.getAttributeCount());
assertEquals(Point.class, ft.getGeometryDescriptor().getType().getBinding());
assertEquals(String.class, ft.getDescriptor("name").getType().getBinding());
}