@Test void testGetName() { DefaultSecurityPrincipal principal = new DefaultSecurityPrincipal("user"); assertEquals("user", principal.getName()); }
@Override public String getName() { return name; }
DefaultSecurityPrincipal implements Principal { @Override public String getName() { return name; } }
DefaultSecurityPrincipal implements Principal { @Override public String getName() { return name; } DefaultSecurityPrincipal(String name); }
DefaultSecurityPrincipal implements Principal { @Override public String getName() { return name; } DefaultSecurityPrincipal(String name); @Override String getName(); }
DefaultSecurityPrincipal implements Principal { @Override public String getName() { return name; } DefaultSecurityPrincipal(String name); @Override String getName();  }