@Override
        public Collection<String> search(final String query) {
            return mockGroupProvider.search(query);
        }
As the GroupManager creates the instance of the GroupProvider, use this class to delegate calls
to the mock.
xmppserver/src/test/java/org/jivesoftware/openfire/group/GroupManagerTest.java