TriggerEvent() public method

public TriggerEvent ( ) : void
return void
 public void TestSubscribedConsumerCanReactToMultipleActions()
 {
     Producer producer = new Producer("multipleactions");
     Assert.AreEqual(0, _consumer.Counter);
     producer.TriggerEvent();
     Assert.AreEqual(3, _consumer.Counter);
     Assert.AreEqual("stringParam", _consumer.Param[0]);
 }
 public void TestUnsubscribedMultipleActions()
 {
     Producer producer = new Producer("multipleactions");
     Assert.AreEqual(0, _consumer.Counter);
     producer.TriggerEvent();
     Assert.AreEqual(3, _consumer.Counter);
     Assert.AreEqual("stringParam", _consumer.Param[0]);
     _vent.Unsubscribe(new EventTest("multipleactions"), new Action<dynamic>[] {_consumer.React, _consumer.ReactTwo});
     producer.TriggerEvent();
     Assert.AreEqual(3, _consumer.Counter);
     Assert.AreEqual("stringParam", _consumer.Param[0]);
 }