@Test
void getPrefixes() 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();
    ImmutableSet<String> actual = configManager.getConfig(TestConfig.class).getPrefixes();
    ImmutableSet<String> expected = ImmutableSet.of(
            "Prefix1",
            "Prefix2",
            "Prefix3",
            "Prefix5",
            "Prefix6");
    assertThat(actual).isEqualTo(expected);
}