@Test
public void testMapKerberosName() {

    KerberosUserMapper mapper = new KerberosUserMapper();
    assertEquals("alice@altostrat.com", mapper.map("alice@EXAMPLE.COM"));
    assertEquals("hive--example.com@altostrat.com", mapper.map("hive/example.com@EXAMPLE.COM"));
    assertEquals("robot-yarn@altostrat.org", mapper.map("yarn-app@FOO.ORG"));
    assertEquals("bob@altostrat.org", mapper.map("bob@FOO.ORG"));
    assertEquals("bob-super@super-domain.com", mapper.map("bob@SUPER.REALM"));
    assertEquals("bobby@some-domain.org", mapper.map("bob/6.7.8.9@HELLO"));
}