@Test //@Ignore
public void loadFile() throws JDOMException, IOException {

    URL resourceAsStream = classLoader.getResource("test-sql.sql");
    BufferedReader reader = new BufferedReader(new InputStreamReader(resourceAsStream.openStream(), Constants.ENCODING));
    try {
        // note first , is intentional to verify that it will be ignored
        List<String> lines = new ConfigurationOverrides("/WEB-INF/overrides-config.xml,/WEB-INF/overrides-config-overlay.xml").loadTextFileAndUpdate("test-sql.sql", null, appPath, reader);
        assertEquals("CREATE TABLE NewRelations", lines.get(0).trim());
        assertEquals("(", lines.get(1).trim());
        assertEquals("primary key(id,overridden)", lines.get(2).trim());
        assertEquals(");", lines.get(3).trim());
        assertEquals("INSERT INTO Settings VALUES (21,20,'host','localhost');", lines.get(4).trim());
        assertEquals("INSERT INTO Settings VALUES (22,20,'port','8080');", lines.get(5).trim());
    } finally {
        reader.close();
    }
}