Point tempPos = new Point(12, 12);
rectangle.moveTo(tempPos);
assertEquals("position should be " + tempPos, tempPos,
rectangle.getPosition());
rectangle.undoMove();
assertEquals("position should be " + position, position,
rectangle.getPosition());
rectangle.moveTo(tempPos);
assertEquals("position should be " + tempPos, tempPos,