public void testSearchByKeyAndValueReturnsNothingForInvalidProperty() throws Exception {
        final DefaultGroupProvider provider = new DefaultGroupProvider();
        provider.createGroup("Test Group A").shareWithNobody();
        final Collection<String> result = provider.search("Invalid Property", "value");
        assertEquals(0, result.size());
    }
Verifies that a {@link AbstractGroupProvider#getVisibleGroupNames(String)} returns a group shared with itself
xmppserver/src/test/java/org/jivesoftware/openfire/group/AbstractGroupProviderTest.java