public void FDDeliverableCodeMAPassesValidDeliverableCodes() { var model = new SupplementaryDataLooseModel { DeliverableCode = "1234567890" }; var rule = new FDDeliverableCodeMA(); Assert.True(rule.Execute(model)); }
public void FDDeliverableCodeMACatchesEmptyDeliverableCodes() { var model = new SupplementaryDataLooseModel { DeliverableCode = null }; var rule = new FDDeliverableCodeMA(); Assert.False(rule.Execute(model)); }