@Test
    public void shouldInstallAndUninstallDependencies() {
        final String name = "tinkergraph-gremlin";
        final Artifact a = new Artifact(GROUP_ID, name, VERSION);
        final File pluginDir = new File(extTestDir, name);

        // install the plugin
        dg.copyDependenciesToPath(a);
        assertTrue("Plugin installation directory exists", pluginDir.exists());

        // delete the plugin
        dg.deleteDependenciesFromPath(a);
        assertTrue("Plugin installation directory deleted", !pluginDir.exists());
    }
@author Jason Plurad (http://github.com/pluradj)
gremlin-groovy/src/test/java/org/apache/tinkerpop/gremlin/groovy/util/DependencyGrabberIntegrateTest.java