Example #1
0
        public void Handle_Derived_Action_WithOneParam_withcallback()
        {
            Derived d = new Derived();

            Assert.DoesNotThrow(() => Handle.Method <int>(d.MyMethodHandlesException, 3, this.ExceptionHandleCallback));
        }
Example #2
0
        public void Handle_Derived_Simple_Action_WithCallback()
        {
            Derived d = new Derived();

            Assert.DoesNotThrow(() => Handle.Method(d.MyMethodHandlesMultipleExceptions, this.ExceptionHandleCallback));
        }
Example #3
0
        public void Handle_Derived_Action_WithOneParam()
        {
            Derived d = new Derived();

            Assert.DoesNotThrow(() => Handle.Method <int>(d.MyMethodHandlesException, 3));
        }
Example #4
0
        public void Handle_Derived_Simple_Action()
        {
            Derived d = new Derived();

            Assert.DoesNotThrow(() => Handle.Method(d.MyMethodHandlesMultipleExceptions));
        }