public void testCompoundOpen() throws Exception {
ContentFeatureSource fs = dataStore.getFeatureSource(tname("curves"));
FilterFactory ff = dataStore.getFilterFactory();
PropertyIsEqualTo filter = ff.equal(ff.property(aname("name")),
ff.literal("Compound line string"), true);
ContentFeatureCollection fc = fs.getFeatures(filter);
assertEquals(1, fc.size());
SimpleFeature feature = DataUtilities.first(fc);
Geometry g = (Geometry) feature.getDefaultGeometry();
assertNotNull(g);
assertTrue(g instanceof CompoundCurvedGeometry<?>);
CompoundCurvedGeometry<?> compound = (CompoundCurvedGeometry<?>) g;