@Test
public void testLoadingParams() throws Exception {

    GauloisPipe piper = new GauloisPipe(configFactory);
    ConfigUtil cu = new ConfigUtil(configFactory.getConfiguration(), piper.getUriResolver(), "./src/test/resources/param-override.xml");
    ParameterValue pv = new ParameterValue(new QName("outputDirPath"), "..", factory.XS_STRING);
    HashMap<QName,ParameterValue> params = new HashMap<>();
    params.put(pv.getKey(), pv);
    Config config = cu.buildConfig(params);
    // checks that a parameter from commandLine is not overwritten by a param from config file
    assertEquals(config.getParams().get(new QName("outputDirPath")).getValue(), "..");
}