public void testConflicts() throws Exception {
VersioningFeatureStore restricted = (VersioningFeatureStore) synchStore.getFeatureSource("restricted");
SimpleFeatureType schema = restricted.getSchema();
// modify the fourth feature, change its cat from 400 to 450
Id updateFilter = ff.id(singleton(ff.featureId("restricted.1b99be2b-2480-4742-ad52-95c294efda3b")));
restricted.modifyFeatures(schema.getDescriptor("cat"), 450, updateFilter);
// a update that will generate a conflict
updateFilter = ff.id(singleton(ff.featureId("restricted.d91fe390-bdc7-4b22-9316-2cd6c8737ef5")));
restricted.modifyFeatures(schema.getDescriptor("cat"), 347, updateFilter);
// an update that will generate a clean merge
updateFilter = ff.id(singleton(ff.featureId("restricted.be7cafea-d0b7-4257-9b9c-1ed3de3f7ef4")));