public void testHasSharedGroupsReturnsFalseWhenThereAreNone() throws Exception {
        final DefaultGroupProvider provider = new DefaultGroupProvider();
        provider.createGroup("Test Group A");
        provider.createGroup("Test Group B");
        assertFalse(provider.hasSharedGroups());
    }
Verifies that a {@link AbstractGroupProvider#hasSharedGroups()} returns false when there are no share groups
xmppserver/src/test/java/org/jivesoftware/openfire/group/AbstractGroupProviderTest.java