예제 #1
0
        public void Test_OverrideEventComputeFunc_Creation_FailInvokeWithNullArgument()
        {
            var    func = new OverrideEventComputeFunc();
            Action act  = () => func.Invoke(null);

            act.Should().Throw <ArgumentException>().WithMessage("Argument for ComputeFunc must be provided");
        }
예제 #2
0
        public void Test_OverrideEventComputeFunc_Creation()
        {
            var func = new OverrideEventComputeFunc();

            Assert.NotNull(func);
        }