@Test
public void create() throws ParseException, LayerException {

	Object created = null;
	WKTReader wktReader = new WKTReader();
	Point geometry = null;
	geometry = (Point) wktReader.read("POINT (0 0)");
	Object feature = (SimpleFeature)layer.getFeatureModel().newInstance("500");
	Map<String, Attribute> map = new HashMap<String, Attribute>();
	map.put("NAME", new StringAttribute("Tsjakamaka"));
	map.put("POP_OTHER", new IntegerAttribute(342));
	layer.getFeatureModel().setAttributes(feature, map);
	layer.getFeatureModel().setGeometry(feature, geometry);
	
	created = layer.create(feature);
	Assert.assertNotNull(created);
}