Query q = new Query(RENAMED, fidFilter);
assertEquals(1, fl.lockFeatures(q));
assertEquals(0, fl2.lockFeatures(q));
fl.unLockFeatures(q);
assertEquals(1, fl2.lockFeatures(q));
}
public void testQueryWithPropertyNames() throws Exception {
// check the schemas in feature source and feature collection
SimpleFeatureSource fs = rts.getFeatureSource(RENAMED);