public void testSelectionEvent_executeAction() {
mockUI( mock( ActionListener.class ) );
control.notifyListeners( SWT.Selection, new Event() );
TestAction action = ( TestAction )actionDescriptor.getAction();
assertTrue( action.wasExecuted() );
}
@Test
public void testSelectionEventNotifiesListeners() {
ActionListener listener = mock( ActionListener.class );