InstallInterpreter { public void install(String [] names) { for (String name : names) { install(name); } } InstallInterpreter(File interpreterListFile, File interpreterBaseDir, String localRepoDir); List<AvailableInterpreterInfo> list(); void installAll(); void install(String [] names); void install(String name); void install(String [] names, String [] artifacts); void install(String name, String artifact); void setProxy(URL proxyUrl, String proxyUser, String proxyPassword); static void usage(); static void main(String [] args);  }
@Test public void install() { assertEquals(0, interpreterBaseDir.listFiles().length); installer.install("intp1"); assertTrue(new File(interpreterBaseDir, "intp1").isDirectory()); }