Beispiel #1
0
 public void Email_New_Erro_Tamanho_Excedido()
 {
     string endereco = "*****@*****.**";
     while(endereco.Length < Email.EnderecoMaxLength )
     {
         endereco += "*****@*****.**";
     }          
     Email email = new Email(endereco);
 }
Beispiel #2
0
 public void Email_New_InValido()
 {
     string endereco = "trolololo";
     Email email = new Email(endereco);
 }
Beispiel #3
0
 public void Email_New_Null()
 {
     Email email = new Email(null);
 }
Beispiel #4
0
 public void Email_New_Valido()
 {
     string endereco = "*****@*****.**";
     Email email = new Email(endereco);
     Assert.AreEqual(endereco, email.Endereco);
 }
Beispiel #5
0
 public void Email_New_Em_Branco()
 {
     Email email = new Email(String.Empty);
 }