EveryonePrincipal implements JackrabbitPrincipal, GroupPrincipal { public static EveryonePrincipal getInstance() { return INSTANCE; } 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 testSame() { assertSame(everyone, EveryonePrincipal.getInstance()); }