public void InvokeEvent_Calls_Apply_Method_In_Object()
        {
            var sampleObject = new SampleClass();

            FindApply.InvokeEvent(sampleObject, new EventToApply());

            Assert.IsTrue(sampleObject.Applied);
        }
        public void InvokeEvent_Apply_Method_Does_Not_Exist_Nothing_Happens()
        {
            var sampleObject = new SampleClass();

            FindApply.InvokeEvent(sampleObject, new UnHandledEvent());

            Assert.IsFalse(sampleObject.Applied);
        }
        public void InvokeEvent_When_Exception_Is_Thrown_Concrete_Exception_Is_Catched()
        {
            var sampleObject = new SampleClass();

            FindApply.InvokeEvent(sampleObject, new EventThatOriginateException());
        }