示例#1
0
        public void FDULNDTPassesValidULNs()
        {
            var model = new SupplementaryDataLooseModel
            {
                ULN = "1234567890"
            };
            var rule = new FDULNDT();

            Assert.True(rule.Execute(model));
        }
示例#2
0
        public void FDULNDTCatchesInvalidULNs()
        {
            var model = new SupplementaryDataLooseModel
            {
                ULN = "0"
            };
            var rule = new FDULNDT();

            Assert.False(rule.Execute(model));
        }