InstallInterpreter { public void installAll() { for (AvailableInterpreterInfo info : availableInterpreters) { install(info.name, info.artifact); } } 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 installAll() { installer.installAll(); assertTrue(new File(interpreterBaseDir, "intp1").isDirectory()); assertTrue(new File(interpreterBaseDir, "intp2").isDirectory()); }