@Test void obfuscate() throws Exception { assertEquals("j...@doe.com", this.obfuscator.obfuscate(InternetAddress.parse("john@doe.com")[0])); }
@Override public String obfuscate(InternetAddress emailAddress) { return emailAddress.toString().replaceAll("^(.).*@", "$1...@"); }
DefaultEmailAddressObfuscator implements EmailAddressObfuscator { @Override public String obfuscate(InternetAddress emailAddress) { return emailAddress.toString().replaceAll("^(.).*@", "$1...@"); } }
DefaultEmailAddressObfuscator implements EmailAddressObfuscator { @Override public String obfuscate(InternetAddress emailAddress) { return emailAddress.toString().replaceAll("^(.).*@", "$1...@"); }  }
DefaultEmailAddressObfuscator implements EmailAddressObfuscator { @Override public String obfuscate(InternetAddress emailAddress) { return emailAddress.toString().replaceAll("^(.).*@", "$1...@"); }  @Override String obfuscate(InternetAddress emailAddress); }
DefaultEmailAddressObfuscator implements EmailAddressObfuscator { @Override public String obfuscate(InternetAddress emailAddress) { return emailAddress.toString().replaceAll("^(.).*@", "$1...@"); }  @Override String obfuscate(InternetAddress emailAddress);  }