Beispiel #1
0
        public void FDCostTypeALCatchesTooLongCostTypes()
        {
            var model = new SupplementaryDataLooseModel
            {
                CostType = "123456789012345678901"
            };
            var rule = new FDCostTypeAL();

            Assert.False(rule.Execute(model));
        }
Beispiel #2
0
        public void FDCostTypeALPassesValidCostTypes()
        {
            var model = new SupplementaryDataLooseModel
            {
                CostType = "12345678901234567890"
            };
            var rule = new FDCostTypeAL();

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