public void testGetFeaturesWithIdFilter() throws Exception {
init();
FilterFactory ff = dataStore.getFilterFactory();
Id id = ff.id(new HashSet<FeatureId>(Arrays.asList(ff.featureId(this.layerName + ".1"),
ff.featureId(this.layerName + ".7"))));
SimpleFeatureCollection features = featureSource.getFeatures(id);
assertEquals(2, features.size());
SimpleFeatureIterator iterator = features.features();
assertTrue(iterator.hasNext());
SimpleFeature f = iterator.next();