public void EnrolleeValidator_ValidFormatForEffectiveDate_WrongFormat() { var rule = new ValidFormatForEffectiveDate(); enrollee.Args[4] = "19860103"; Assert.IsFalse(rule.IsSatisfiedBy(enrollee)); }
public void EnrolleeValidator_ValidFormatForEffectiveDate_NotADateTime() { var rule = new ValidFormatForEffectiveDate(); enrollee.Args[4] = "xyzzy"; Assert.IsFalse(rule.IsSatisfiedBy(enrollee)); }
public void EnrolleeValidator_ValidFormatForEffectiveDate_Succeeds() { var rule = new ValidFormatForEffectiveDate(); Assert.IsTrue(rule.IsSatisfiedBy(enrollee)); }