protected void setUp() {
mockNode1.expects(once()).method("getParent").
will(returnValue(mockParent.proxy()));
mockConnection.expects(once()).method("getParent").
will(returnValue(mockParent.proxy()));
removeNodeCommand = new DeleteElementCommand((DiagramEditorNotification)
mockNotification.proxy(), (DiagramElement) mockNode1.proxy());
removeConnectionCommand = new DeleteElementCommand(
(DiagramEditorNotification) mockNotification.proxy(),
(DiagramElement) mockConnection.proxy());
connections.add((Connection) mockConnection.proxy());
}