@Test
void emailObfuscation() {

    assertThat(Util.obfuscateEmailAddress("someone@somewhere.net")).isEqualTo("s...e@s...t");
    assertThat(Util.obfuscateEmailAddress("ab@cd")).isEqualTo("a...b@c...d");
    // too short to obfuscate
    assertThat(Util.obfuscateEmailAddress("a@b")).isEqualTo("a@b");
}