ActionListenerImplementation actionListener = new ActionListenerImplementation(differentUiCommand);
uiCommand.addActionListener(actionListener);
ActionListener differentActionListener = org.easymock.EasyMock.createNiceMock(ActionListener.class);
differentActionListener.processAction(actionListener.newActionEventFromListener);
org.easymock.EasyMock.expectLastCall().times(1);
org.easymock.EasyMock.replay(differentActionListener);
differentUiCommand.addActionListener(differentActionListener);
// Simulates first event, in most cases click in GUI