public void FDReferenceTypeMAPassesValidReferenceTypes() { var model = new SupplementaryDataLooseModel { ReferenceType = new string('1', 20) }; var rule = new FDReferenceTypeMA(); Assert.True(rule.Execute(model)); }
public void FDReferenceTypeMACatchesEmptyReferenceTypes() { var model = new SupplementaryDataLooseModel { ReferenceType = null }; var rule = new FDReferenceTypeMA(); Assert.False(rule.Execute(model)); }