}
public void testModifyExposedPk() throws IOException {
SimpleFeatureType t = featureStore.getSchema();
FilterFactory ff = CommonFactoryFinder.getFilterFactory();
PropertyIsEqualTo filter = ff.equal(ff.property(aname("stringProperty")), ff.literal("zero"), false);
featureStore.modifyFeatures(new AttributeDescriptor[] { t.getDescriptor(aname("stringProperty")),
t.getDescriptor(aname("id"))},
new Object[] { "foo", 123}, filter);
PropertyIsEqualTo idFilter = ff.equal(ff.property(aname("id")), ff.literal(0), false);