Beispiel #1
0
        public void FDDeliverableCodeMAPassesValidDeliverableCodes()
        {
            var model = new SupplementaryDataLooseModel
            {
                DeliverableCode = "1234567890"
            };
            var rule = new FDDeliverableCodeMA();

            Assert.True(rule.Execute(model));
        }
Beispiel #2
0
        public void FDDeliverableCodeMACatchesEmptyDeliverableCodes()
        {
            var model = new SupplementaryDataLooseModel
            {
                DeliverableCode = null
            };
            var rule = new FDDeliverableCodeMA();

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