public void testIsValidEMailInvalidStart() {
   String invalidStart = "Expected false, email has an invalid start: ";
   assertFalse(invalidStart, MailValidationUtils.isValidEMail("*****@*****.**"));
   assertFalse(invalidStart, MailValidationUtils.isValidEMail("*****@*****.**"));
   assertFalse(invalidStart, MailValidationUtils.isValidEMail("\\[email protected]"));
   assertFalse(invalidStart, MailValidationUtils.isValidEMail("&[email protected]"));
 }
 public void testIsValidEMailValid() {
   assertTrue("Expected true: email is valid", MailValidationUtils.isValidEMail("*****@*****.**"));
   assertTrue(
       "Expected true: email is valid", MailValidationUtils.isValidEMail("*****@*****.**"));
   assertTrue(
       "Expected true: email is valid", MailValidationUtils.isValidEMail("*****@*****.**"));
 }
 public void testIsValidEMailInvalidCharacters() {
   String invalidChar = "Expected false, email has invalid characters: ";
   assertFalse(invalidChar, MailValidationUtils.isValidEMail("test/@email.com"));
   assertFalse(invalidChar, MailValidationUtils.isValidEMail("*****@*****.**"));
   assertFalse(invalidChar, MailValidationUtils.isValidEMail("te&[email protected]"));
   assertFalse(invalidChar, MailValidationUtils.isValidEMail("[email protected]"));
   assertFalse(invalidChar, MailValidationUtils.isValidEMail("testß@email.com"));
   assertFalse(invalidChar, MailValidationUtils.isValidEMail("*****@*****.**"));
   assertFalse(invalidChar, MailValidationUtils.isValidEMail("*****@*****.**"));
 }
 public void testIsValidEMailValidCharacters() {
   String invalidChar = "Expected true, email has no invalid characters: ";
   assertTrue(invalidChar, MailValidationUtils.isValidEMail("*****@*****.**"));
   assertTrue(invalidChar, MailValidationUtils.isValidEMail("*****@*****.**"));
 }
 public void testIsValidEMailInvalidDomain() {
   String invalidDomain = "Expected false, email has an invalid domain: ";
   assertFalse(invalidDomain, MailValidationUtils.isValidEMail("[email protected]"));
   assertFalse(invalidDomain, MailValidationUtils.isValidEMail("[email protected]"));
   assertFalse(invalidDomain, MailValidationUtils.isValidEMail("*****@*****.**"));
 }
 public void testIsValidEMailNoDomain() {
   String noDomain = "Expected false, email has no domain: ";
   assertFalse(noDomain, MailValidationUtils.isValidEMail("test@email"));
   assertFalse(noDomain, MailValidationUtils.isValidEMail("test@email."));
 }