public void OnAddSubscriber_AddsSubscriber() { void ActionCallback(TestEvent testEvent) { } var eventAction = new EventAction <TestEvent>(); eventAction.AddSubscriber(ActionCallback); Assert.That(eventAction.HasSubscriber(ActionCallback)); }
public void OnAddSubscriber_AddsSubscriber() { void ActionCallback(TestEvent testEvent) { } var eventAction = new EventAction <TestEvent>(); eventAction.AddSubscriber(ActionCallback); Assert.That(eventAction.HasSubscriber(ActionCallback)); }