store.modifyFeatures("NAME", "blah", filterUpdate);
transaction.commit();
ContentFeatureCollection coll = store.getFeatures();
FeatureIterator it= coll.features();
while (it.hasNext()) {
System.err.println(it.next());
}
assertEquals(3, coll.size());
coll = store.getFeatures( new Query(simpleTypeName1.getLocalPart(), filterfac.equals(filterfac.property("NAME"), filterfac.literal("mypoint"))) );
it= coll.features();
while (it.hasNext()) {
System.err.println(it.next());
}
assertEquals(1, coll.size());
SimpleFeature feature = coll.features().next();
assertEquals(feat.getAttributes(), feature.getAttributes());