@Test
public void testRunAndUndo() throws Exception {
EditBlackboard map=new EditBlackboard(SCREEN.x, SCREEN.y, transform, layerToWorld);
PrimitiveShape hole=map.getGeoms().get(0).newHole();
InsertVertexCommand command1=new InsertVertexCommand(new TestHandler(), map, new TestViewportPane(new Dimension(500,500)), new EditUtils.StaticShapeProvider(hole), Point.valueOf(10,10), 0, true );
InsertVertexCommand command2=new InsertVertexCommand(new TestHandler(), map, new TestViewportPane(new Dimension(500,500)), new EditUtils.StaticShapeProvider(hole), Point.valueOf(10,15), 0, true );
assertEquals(0, map.getCoords(10,10).size());
assertEquals(0, map.getCoords(10,15).size());
command1.run(new NullProgressMonitor());