public void ValidarEmailTest() { Assert.IsTrue(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("*****@*****.**", "Validar E-mail", this.GetType()))); Assert.IsTrue(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("*****@*****.**", "Validar E-mail", this.GetType()))); Assert.IsTrue(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("*****@*****.**", "Validar E-mail", this.GetType()))); Assert.IsTrue(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("*****@*****.**", "Validar E-mail", this.GetType()))); Assert.IsTrue(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("*****@*****.**", "Validar E-mail", this.GetType()))); Assert.IsTrue(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("[email protected]", "Validar E-mail", this.GetType()))); Assert.IsTrue(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("js#[email protected]", "Validar E-mail", this.GetType()))); Assert.IsTrue(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("j_9@[129.126.118.1]", "Validar E-mail", this.GetType()))); Assert.IsTrue(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("[email protected]", "Validar E-mail", this.GetType()))); Assert.IsTrue(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("*****@*****.**", "Validar E-mail", this.GetType()))); Assert.IsTrue(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("\"j\\\"s\\\"\"@mps.com", "Validar E-mail", this.GetType()))); Assert.IsFalse(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("*****@*****.**", "Validar E-mail", this.GetType()))); Assert.IsFalse(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("*****@*****.**", "Validar E-mail", this.GetType()))); Assert.IsFalse(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("js*@mps.com", "Validar E-mail", this.GetType()))); Assert.IsFalse(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("*****@*****.**", "Validar E-mail", this.GetType()))); Assert.IsFalse(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("*****@*****.**", "Validar E-mail", this.GetType()))); Assert.IsFalse(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("contatomps.com.br", "Validar E-mail", this.GetType()))); Assert.IsFalse(ValidacoesDominio.IsValid(ValidacoesDominio.ValidarEmail("@mps.com.br", "Validar E-mail", this.GetType()))); }