Пример #1
0
 public void listener_mapped_without_type_is_triggered_by_plain_Event()
 {
     eventMap.MapListener(eventDispatcher, CustomEvent.Type.STARTED, (Action <IEvent>)listener);
     eventDispatcher.Dispatch(new Event(CustomEvent.Type.STARTED));
     Assert.That(listenerExecuted, Is.True);
 }