@Test
public void testDelete() throws Exception {

	HibernateTestFeature f1 = (HibernateTestFeature) layer.create(HibernateTestFeature.getDefaultInstance1(null));
	Assert.assertNotNull(f1.getId());
	Assert.assertNotNull(layer.read(f1.getId().toString()));
	layer.delete(f1.getId().toString());
	try {
		layer.read(f1.getId().toString());
		Assert.fail("No exception thrown for non-exisiting feature");
	} catch (LayerException e) {
	}
}