public void testHasSharedGroupsReturnsTrueWhenOneIsSharedWithNonExistent() throws Exception {
        final DefaultGroupProvider provider = new DefaultGroupProvider();
        provider.createGroup("Test Group A");
        provider.createGroup("Test Group B").shareWithUsersInGroups(List.of("Non-existent Group"),"Non-existent Group");
        assertTrue(provider.hasSharedGroups());
    }
Verifies that a {@link AbstractGroupProvider#hasSharedGroups()} returns true when one group is shared with
members of a non-existent group (since it shows intent)
xmppserver/src/test/java/org/jivesoftware/openfire/group/AbstractGroupProviderTest.java