@Test
void loadPrefixedConfigItems_testDefaultCurrentValue() throws IOException, ConfigKeysNotRecognisedException {

    Builder builder = new Builder(new String[]{});
    ConfigManager configManager = builder.loadConfigFromResourceOrFile(ImmutableList.of("src/test/prefixes-test-config-file.properties"), ImmutableSet.of(TestConfig.class, TestConfigDummy.class))
            .build();
    Config<TestConfigDummy> testConfig = configManager.getConfig(TestConfigDummy.class);
    // Default (initial) config values.
    assertThat(testConfig.getValue(TestConfigDummy.BAR).asInt()).isEqualTo(10);
    assertThat(testConfig.getValue(TestConfigDummy.FOO).asInt()).isEqualTo(12);
    assertThat(testConfig.getPrefixedConfigItems("Prefix4").getValue(TestConfigDummy.BAR).asInt()).isEqualTo(11);
    assertThat(testConfig.getPrefixedConfigItems("Prefix4").getValue(TestConfigDummy.FOO).asInt()).isEqualTo(12);
}