public ErrorCollectorExt errorCollector = new ErrorCollectorExt();
@Test
public void testConfigFile() throws Exception {
ConfigFile configFile = new ConfigFile(new BasicSessionContext(null));
configFile.addLocation(new File(Configuration.get().getTestDataDir(), "sample.rc"));
// section1 has key1 unset, key2 overridden from included, key4 from second occurence
HashMap<String, String> section1 = new HashMap<String, String>();
section1.put("key2", "alternative value 2");
section1.put("key3", "value 3");
section1.put("key4", "value 4");