public void testPublicSharedGroupNamesNone() throws Exception
    {
        // Setup test fixture.
        final DefaultGroupProvider provider = new DefaultGroupProvider();
        provider.createGroup("Test Group A");
        provider.createGroup("Test Group B");

        // Execute system under test.
        final Collection<String> result = provider.getPublicSharedGroupNames();

        // Verify result.
        assertEquals(0, result.size());
    }
Verifies that a {@link AbstractGroupProvider#getPublicSharedGroupNames()} returns nothing when there
are no groups that are shared with everyone.
xmppserver/src/test/java/org/jivesoftware/openfire/group/AbstractGroupProviderTest.java