@Test
public void overrideProfile() throws IOException {

    ConfigFile profile1 =
            ConfigFileReader.parse("src/test/resources/unit_test_config", "PROFILE1");
    assertEquals("new value", profile1.get("key"));
    assertEquals("value2", profile1.get("key2"));
    ConfigFile profile2 =
            ConfigFileReader.parse("src/test/resources/unit_test_config", "PROFILE2");
    assertEquals("value=foobar", profile2.get("key"));
    assertEquals("nota#comment", profile2.get("key2"));
}