InternetAddressUtil { public static boolean isValid(String emailAddress) { EmailValidator emailValidator = EmailValidator.getInstance(); return emailValidator.isValid(emailAddress); }  static boolean contains(
		InternetAddress[] internetAddresses, String emailAddress); static boolean isValid(String emailAddress); static InternetAddress[] removeEntry(
		Address[] addresses, String emailAddress); static String toString(Address address); static String toString(Address[] addresses); static void validateAddress(Address address); static void validateAddresses(Address[] addresses);  }
@Test public void testInvalidEmailAddress() { Assert.assertFalse(InternetAddressUtil.isValid("miguel.pastor")); }
@Test public void testInvalidEmailAddressWithAt() { Assert.assertFalse(InternetAddressUtil.isValid("miguel.pastor@")); }
@Test public void testValidEmailAddress() { Assert.assertTrue( InternetAddressUtil.isValid("miguel.pastor@liferay.com")); }