public void testSimpleUnsuccessfulSearch() throws Exception {
        final DefaultGroupProvider provider = new DefaultGroupProvider();
        provider.createGroup("Test Group A");
        provider.createGroup("Test Group B");

        final Collection<String> result = provider.search("Something Else");
        assertEquals(0, result.size());
    }
Verifies that {@link DefaultGroupProvider#search(String)} returns successfully when finding no results
xmppserver/src/test/java/org/jivesoftware/openfire/group/DefaultGroupProviderTest.java