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