@AfterEach
    public void tearDown() {
        // Teardown fixture by removing any groups that have been created.
        GroupManager.getInstance().getGroups().forEach(group -> {
            try {
                GroupManager.getInstance().deleteGroup(group);
            } catch (GroupNotFoundException e) {
                throw new RuntimeException(e);
            }
        });

        groupCache.clear();
    }
Verifies the functionality as implemented by #Group

@author Guus der Kinderen, guus@goodbytes.nl
xmppserver/src/test/java/org/jivesoftware/openfire/group/GroupTest.java