@Test
public void testUpdate() throws Exception {

	SimpleFeature f = (SimpleFeature) layer.read(LAYER_NAME + ".3"); // id always starts with layer id
	f.setAttribute("NAME", "Luxembourg2");
	layer.update(f);
	Assert.assertEquals("Luxembourg2", f.getAttribute(ATTRIBUTE_NAME));
}