EveryonePrincipal implements JackrabbitPrincipal, GroupPrincipal { @Override public String getName() { return NAME; } private  EveryonePrincipal(); static EveryonePrincipal getInstance(); @Override String getName(); @Override boolean isMember(@NotNull Principal member); @NotNull @Override Enumeration<? extends Principal> members(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); static final String NAME; }
@Test public void testGetName() { assertEquals(EveryonePrincipal.NAME, everyone.getName()); }