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

        assertThrows(GroupNameInvalidException.class, () -> provider.setName("Test Group A", ""));
    }
Verifies that {@link DefaultGroupProvider#setName(String, String)} throws a {@link GroupNameInvalidException}
when attempting to rename a group to an empty string
xmppserver/src/test/java/org/jivesoftware/openfire/group/DefaultGroupProviderTest.java