@Test
void loadPrefixedConfigItems_testCallOrder() 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);
    Config<TestConfig.Colours> testConfigPrefixSubConfig = testConfig.getPrefixedConfigItems("Prefix1")
            .getSubConfig(Colours.class);
    Config<TestConfig.Colours> testConfigSubConfigPrefix = testConfig.getSubConfig(Colours.class)
            .getPrefixedConfigItems("Prefix1");
    assertThat(testConfigPrefixSubConfig.getValues().keySet()).isEqualTo(testConfigSubConfigPrefix.getValues().keySet());
}