public void WrongDateFormat1_NotPassed() { var target = new DateMaskRule("12.12.12345"); var result = target.Passed(); Assert.IsFalse(result); }
public void CorrectDateFormat_Passed() { var target = new DateMaskRule("12.12.1234"); var result = target.Passed(); Assert.IsTrue(result); }