@Test
public void validEmailAddresses() {

    //copied from https://en.wikipedia.org/wiki/Email_address#Examples
    Assert.assertTrue(EmailAddressUtil.isValid("simple@example.com"));
    Assert.assertTrue(EmailAddressUtil.isValid("very.common@example.com"));
    Assert.assertTrue(EmailAddressUtil.isValid("disposable.style.email.with+symbol@example.com"));
    Assert.assertTrue(EmailAddressUtil.isValid("other.email-with-hyphen@example.com"));
    Assert.assertTrue(EmailAddressUtil.isValid("fully-qualified-domain@example.com"));
    Assert.assertTrue(EmailAddressUtil.isValid("user.name+tag+sorting@example.com"));
    Assert.assertTrue(EmailAddressUtil.isValid("x@example.com"));
    Assert.assertTrue(EmailAddressUtil.isValid("example-indeed@strange-example.com"));
    Assert.assertTrue(EmailAddressUtil.isValid("admin@mailserver1"));
    Assert.assertTrue(EmailAddressUtil.isValid("example@s.example"));
    Assert.assertTrue(EmailAddressUtil.isValid("\" \"@example.org"));
    Assert.assertTrue(EmailAddressUtil.isValid("\"john..doe\"@example.org"));
    Assert.assertTrue(EmailAddressUtil.isValid("mailhost!username@example.org"));
    Assert.assertTrue(EmailAddressUtil.isValid("user%example.com@example.org"));
}