public void FDReferenceALPassesValidReferences() { var model = new SupplementaryDataLooseModel { Reference = new string('1', 100) }; var rule = new FDReferenceAL(); Assert.True(rule.Execute(model)); }
public void FDReferenceALCatchesTooLongReferences() { var model = new SupplementaryDataLooseModel { Reference = new string('1', 101) }; var rule = new FDReferenceAL(); Assert.False(rule.Execute(model)); }