protected void setUp() {
mockNode.expects(once()).method("getAbsoluteX").will(returnValue(oldx));
mockNode.expects(once()).method("getAbsoluteY").will(returnValue(oldy));
mockNode.expects(atLeastOnce()).method("getSize").
will(returnValue(oldsize));
command = new ResizeElementCommand((DiagramEditorNotification)
mockNotification.proxy(), (Node) mockNode.proxy(), newpos, newsize);
}