public void FDULNDTPassesValidULNs() { var model = new SupplementaryDataLooseModel { ULN = "1234567890" }; var rule = new FDULNDT(_messageServiceMock.Object); Assert.True(rule.IsValid(model)); }
public void FDULNDTCatchesInvalidULNs() { var model = new SupplementaryDataLooseModel { ULN = "0" }; var rule = new FDULNDT(_messageServiceMock.Object); Assert.False(rule.IsValid(model)); }