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

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

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

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

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