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