public static Driver load(String className) throws DriverLoadException {
        final ClassLoader loader = DriverLoader.class.getClassLoader();
        return load(className, loader);
    }
@Test
    public void testLoad_String_String() throws Exception {
        String className = "com.mysql.jdbc.Driver";
        //we know this is in target/test-classes
        //File testClassPath = (new File(this.getClass().getClassLoader().getResource("org.mortbay.jetty.jar").getPath())).getParentFile();
        File testClassPath = BaseTest.getResourceAsFile(this, "org.mortbay.jetty.jar").getParentFile();
        File driver = new File(testClassPath, "../../src/test/resources/mysql-connector-java-5.1.27-bin.jar");
        assertTrue("MySQL Driver JAR file not found in src/test/resources?", driver.isFile());

        Driver d = null;
        try {
            d = DriverLoader.load(className, driver.getAbsolutePath());
            d = DriverManager.getDriver("jdbc:mysql://localhost:3306/dependencycheck");
            assertNotNull(d);
        } finally {
            if (d != null) {
                DriverManager.deregisterDriver(d);
            }
        }
    }