File cwd = new File(""); String url = "file: String data = m_pool.fetchURL(url);
    public void testFetchURL() throws Exception {        File cwd = new File("");        String url = "file://" + cwd.getAbsolutePath() + "/build.xml";        String data = m_pool.fetchURL(url);        String buildxml = readFile("./build.xml");        assertEquals("File not loaded by Pool!",  buildxml, data);        try {            m_pool.fetchURL(null);            fail("Shouldn't accept null URL");        } catch(IllegalArgumentException e) {        }        try {            m_pool.fetchURL("");            fail("Shouldn't accept blank URL");        } catch(IllegalArgumentException e) {        }        try {            m_pool.fetchURL("snert://gribble.com/");            fail("Shouldn't accept an invalid URL");        } catch(IllegalArgumentException e) {        }    }