@Test
void loadPrefixedConfigItems_testSubConfigPenetration() 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<TestConfig> testConfig = configManager.getConfig(TestConfig.class);
    // Default values
    assertThat(testConfig.getValue(Colours.RED).asInt()).isEqualTo(80);
    assertThat(testConfig.getValue(Colours.GREEN).asInt()).isEqualTo(90);
    // Prefixed values
    assertThat(testConfig.getPrefixedConfigItems("Prefix1").getValue(Colours.RED).asInt()).isEqualTo(8);
    assertThat(testConfig.getPrefixedConfigItems("Prefix1").getValue(Colours.GREEN).asInt()).isEqualTo(9);
}