public void updateGroupConfig(String groupId, Properties newGroupConfig) {
        if (null == groupId || groupId.isEmpty()) {
            throw new InvalidRequestException("Group name can't be empty.");
        }

        final GroupConfig newConfig = GroupConfig.fromProps(
            defaultConfig.originals(),
            newGroupConfig
        );
        configMap.put(groupId, newConfig);
    }
@Test
    public void testUpdateConfigWithInvalidGroupId() {
        assertThrows(InvalidRequestException.class,
            () -> configManager.updateGroupConfig("", new Properties()));
    }