public void EnrolleeValidator_EffectiveDateWithinThirtyDays_Exceeds() { var rule = new EffectiveDateWithinThirtyDays(); enrollee.EffectiveDate = DateTime.Today.AddDays(31); Assert.IsFalse(rule.IsSatisfiedBy(enrollee)); }
public void EnrolleeValidator_EffectiveDateWithinThirtyDays_Succeeds() { var rule = new EffectiveDateWithinThirtyDays(); Assert.IsTrue(rule.IsSatisfiedBy(enrollee)); }