@Test
public void testCommitAndStartNew() throws Exception {
tool.setHandler(handler);
tool.testinitAcceptBehaviours(handler.getAcceptBehaviours());
tool.testinitEventBehaviours(new EditToolConfigurationHelper(handler.getBehaviours()));
SimpleFeature feature = handler.getFeature(0);
EditManagerImpl editManager = (EditManagerImpl) handler.getContext().getEditManager();
Layer layer = (Layer) handler.getContext().getMapLayers().get(0);