@Test
  public void testMoveGeom() throws Exception {
    TestEditBlackboard bb = new TestEditBlackboard();
    EditGeom geom = bb.getGeoms().get(0);
    PrimitiveShape shell = geom.getShell();
    bb.addPoint(10, 10, shell);
    bb.addPoint(11, 10, shell);
    bb.addPoint(12, 10, shell);
    bb.addPoint(13, 10, shell);
    bb.addPoint(14, 10, shell);

    bb.moveSelection(1, 0, geom.createSelection());

    assertEquals(Point.valueOf(11, 10), shell.getPoint(0));
    assertEquals(Point.valueOf(12, 10), shell.getPoint(1));
    assertEquals(Point.valueOf(13, 10), shell.getPoint(2));
    assertEquals(Point.valueOf(14, 10), shell.getPoint(3));
    assertEquals(Point.valueOf(15, 10), shell.getPoint(4));
  }
  @Test
  public void testNewGeom() throws Exception {
    TestEditBlackboard bb = new TestEditBlackboard();
    bb.getGeoms().get(0).setChanged(false);
    bb.newGeom("testing", null); // $NON-NLS-1$

    assertEquals(1, bb.getGeoms().size());
    assertEquals("testing", bb.getGeoms().get(0).getFeatureIDRef().get()); // $NON-NLS-1$

    bb.clear();
    bb.getGeoms().get(0).setChanged(true);
    bb.newGeom("test2", null); // $NON-NLS-1$

    assertEquals(2, bb.getGeoms().size());
    assertEquals("test2", bb.getGeoms().get(1).getFeatureIDRef().get()); // $NON-NLS-1$
  }