@Override
    public List<JID> getAdmins() {
        final String groupName = GROUP_NAME.getValue();
        try {
            // Note; the list of admins is already cached, so if the list is being refreshed force a cache refresh too
            return new ArrayList<>(GroupManager.getInstance().getGroup(groupName, true).getMembers());
        } catch (GroupNotFoundException e) {
            LOGGER.error(String.format("Unable to retrieve members of group '%s' - assuming no administrators", groupName), e);
            return new ArrayList<>();
        }
    }
@Test
    public void willRetrieveGroupMembers() {

        final List<JID> admins = adminProvider.getAdmins();

        assertThat(admins, is(ADMINS));
    }