public GoConfigHolder loadConfigHolder(final String content, Callback callback) throws Exception {
        CruiseConfig configForEdit;
        CruiseConfig config;
        LOGGER.debug("[Config Save] Loading config holder");
        configForEdit = deserializeConfig(content);
        if (callback != null) callback.call(configForEdit);
        config = preprocessAndValidate(configForEdit);

        return new GoConfigHolder(config, configForEdit);
    }
@Test
    void shouldThrowXsdValidationException_WhenNoRepository() {
        assertThatThrownBy(() -> xmlLoader.loadConfigHolder(configWithConfigRepos(
                """
                          <config-repos>
                            <config-repo pluginId="myplugin">
                            </config-repo >
                          </config-repos>
                        """
        ))).isInstanceOf(XsdValidationException.class);
    }