Exemplo n.º 1
0
        public void Handle_Derived_Action_WithOneParam_withcallback()
        {
            Derived d = new Derived();

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

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

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

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