public void Email_IsInvalid_Empty() { string emailAddress = ""; if (MailManager.IsEmailValid(emailAddress)) { Assert.Fail(); } Assert.Pass(); }
public void Email_IsInvalid_If_WithoutATSymbol() { string emailAddress = "hiljaclagmail.com"; if (MailManager.IsEmailValid(emailAddress)) { Assert.Fail(); } Assert.Pass(); }
public void Email_IsInvalid_If_WithoutDomain() { string emailAddress = "hil.jacla@gmail"; if (MailManager.IsEmailValid(emailAddress)) { Assert.Fail(); } Assert.Pass(); }
public void Email_IsValid() { string emailAddress = "*****@*****.**"; if (MailManager.IsEmailValid(emailAddress)) { Assert.Pass(); } Assert.Fail(); }