Exemple #1
0
        public void Email_New_EmailValido()
        {
            var endereco = "*****@*****.**";
            var email = new Email(endereco);

            Assert.AreEqual(endereco, email.Endereco);
        }
Exemple #2
0
        public void Email_New_EmailInvalido()
        {
            var endereco = "fsdjfkljselkfjsd";
            var email = new Email(endereco);

            Assert.AreEqual(endereco, email.Endereco);
        }
Exemple #3
0
 public void Email_New_EmailNull()
 {
     var email = new Email(null);
 }
Exemple #4
0
 public void Email_New_EmailEmBranco()
 {
     var email = new Email("");
 }