Exemplo n.º 1
0
        public void OnAddSubscriber_AddsSubscriber()
        {
            void ActionCallback(TestEvent testEvent)
            {
            }

            var eventAction = new EventAction <TestEvent>();

            eventAction.AddSubscriber(ActionCallback);

            Assert.That(eventAction.HasSubscriber(ActionCallback));
        }