protected String getConfig(File configFile) {
        return ThrowableFunction.execute(
                configFile, file -> canRead(configFile) ? readFileToString(configFile, getEncoding()) : null);
    }
@Test
    void testPublishAndGetConfig() {
        assertTrue(configuration.publishConfig(KEY, CONTENT));
        assertTrue(configuration.publishConfig(KEY, CONTENT));
        assertTrue(configuration.publishConfig(KEY, CONTENT));
        assertEquals(CONTENT, configuration.getConfig(KEY, DEFAULT_GROUP));
    }