public void TwoDifferentSubjectsCanBeAttactedToSameListener()
        {
            TwoEventSource                  eventSource   = new TwoEventSource();
            DualAttributedListener          eventListener = new DualAttributedListener();
            ReflectionInstrumentationBinder binder        = new ReflectionInstrumentationBinder();

            binder.Bind(eventSource, eventListener);
            eventSource.Raise();
            Assert.AreEqual(2, eventListener.count);
        }
        public void TwoDifferentSubjectsCanBeAttactedToSameListener()
        {
            TwoEventSource eventSource = new TwoEventSource();
            DualAttributedListener eventListener = new DualAttributedListener();

            ReflectionInstrumentationBinder binder = new ReflectionInstrumentationBinder();
            binder.Bind(eventSource, eventListener);

            eventSource.Raise();

            Assert.AreEqual(2, eventListener.count);
        }