public void CherryEventSimpleTest()
        {
            const string eventName = "event Name";

            var eventsProvider = new TestEventsProvider();
            var sentArgs = new CherryEventArgs();
            var cherryEvent = new CherryEvent(eventName);
            Assert.AreEqual(eventName, cherryEvent.Name);
            cherryEvent.Fire(null);

            bool listenerAdded = cherryEvent.AddListener(new CherryEventListener(
                eventName,
                ea => { }));
            Assert.IsTrue(listenerAdded);

            cherryEvent.Fire(sentArgs);
        }
 public IEnumerable<ICherryEvent> GetEvents()
 {
     yield return this.activeWindowChangedEvent = new CherryEvent(
         "Active Window Changed",
         "Fired when a CherryTomato window is shown or hidden. Brings the window pointer with event arguments object.");
 }