@DirtiesContext
public void testSaveOrUpdateDeleteFeature() throws Exception {
Filter filter;
List<InternalFeature> oldFeatures;
List<InternalFeature> newFeatures;
CoordinateReferenceSystem crs = beanLayer.getCrs();
login("marino");
filter = filterService.createFidFilter(new String[]{"3"});
oldFeatures = layerService.getFeatures(LAYER_ID,
crs, filter, null, VectorLayerService.FEATURE_INCLUDE_ATTRIBUTES);