public void ULNRule04PassesEmptyULNsWhenNotRequired() { var model = new SupplementaryDataModel { ReferenceType = "Other", ULN = null }; var rule = new ULNRule04(); Assert.True(rule.Execute(model)); }
public void ULNRule04CatchesULNsWhenNotRequired() { var model = new SupplementaryDataModel { ReferenceType = "Other", ULN = 1990909009 }; var rule = new ULNRule04(); Assert.False(rule.Execute(model)); }