public void WrongPhoneCode_NotPassed() { var target = new PhoneCodeRule("1111231212"); var result = target.Passed(); Assert.IsFalse(result); }
public void CorrectPhoneCode_Passed() { var target = new PhoneCodeRule("4951231212"); var result = target.Passed(); Assert.IsTrue(result); }