@Override
        public Collection<String> getGroupNames(final int startIndex, final int numResults) {
            return mockGroupProvider.getGroupNames(startIndex, numResults);
        }
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