### Question:
ISATABDBExporter { public void exportToPath(String exportPath) { exportToPath(exportPath, false); } ISATABDBExporter(DaoFactory daoFactory, String... studyAccs);  ISATABDBExporter(DaoFactory daoFactory, Study... studies); @SuppressWarnings("unchecked")  ISATABDBExporter(DaoFactory daoFactory, Collection studies); void exportToRepository(); void exportToRepository(boolean skipOldDataFilesBackup); void exportToPath(String exportPath); void exportToPath(String exportPath, boolean skipDataFilesDump);  }### Answer:
@Test public void testExportToPath() throws Exception { load(TESTSPATH + "harvard-CD133"); load(TESTSPATH + "BII-I-1_v201001"); ISATABDBExporter dbexp = new ISATABDBExporter(daoFactory, "BII-S-1", "BII-S-2", "HSPH-1"); final String EXPPATH = BASEDIR + "/target/isatab_export"; dbexp.exportToPath(EXPPATH); assertTrue("Argh! BII-I-1 not exported!", new File(EXPPATH + "/BII-I-1").exists()); assertTrue("Argh! HSPH-1 not exported!", new File(EXPPATH + "/HSPH-1").exists()); }