@Test
public void testCompoundPolygonWithHole() throws Exception {
ContentFeatureSource fs = dataStore.getFeatureSource(tname("curves"));
FilterFactory ff = dataStore.getFilterFactory();
PropertyIsEqualTo filter = ff.equal(ff.property(aname("name")),
ff.literal("Compound polygon with hole"), true);
ContentFeatureCollection fc = fs.getFeatures(filter);
assertEquals(1, fc.size());
SimpleFeature feature = DataUtilities.first(fc);
Geometry g = (Geometry) feature.getDefaultGeometry();