public void ShouldReturnFalseForEmailWithoutDomainExtenstionAddress() { var email = new EmailField("email", ""); Assert.False(email.IsValid("yashar@gmail.")); }
public void ShouldReturnTrueForValidEmailAddress() { var email = new EmailField("email", ""); Assert.True(email.IsValid("*****@*****.**")); }
public void ShouldReturnFalseForInvalidEmailAddress() { var email = new EmailField("email", ""); Assert.False(email.IsValid("123")); }