public void FDCostTypeALCatchesTooLongCostTypes() { var model = new SupplementaryDataLooseModel { CostType = "123456789012345678901" }; var rule = new FDCostTypeAL(); Assert.False(rule.Execute(model)); }
public void FDCostTypeALPassesValidCostTypes() { var model = new SupplementaryDataLooseModel { CostType = "12345678901234567890" }; var rule = new FDCostTypeAL(); Assert.True(rule.Execute(model)); }