### Question:
MIBBILoader { public void loadProjects() throws IOException { InputStream resource = this.getClass().getClassLoader().getResourceAsStream(filePath); if (resource == null) { throw new IOException("File " + filePath + " is not found"); } CSVReader reader = new CSVReader(new InputStreamReader(resource)); List<String[]> entries = reader.readAll(); if (entries.get(0) == null) { throw new IOException("MIBBI file is empty"); } EntityTransaction transaction = entityManager.getTransaction(); transaction.begin(); for (int i = 0; i < entries.get(0).length; i++) { String[] acronyms = entries.get(ACRONYM_INDEX); String[] full_names = entries.get(FULL_NAME_INDEX); MIProject project = new MIProject(acronyms[i], full_names[i]); entityManager.persist(project); System.out.println("project = " + project); } transaction.commit(); } MIBBILoader();  MIBBILoader(String filePath, EntityManager entityManager); void loadProjects(); String getFilePath(); void setFilePath(String filePath); EntityManager getEntityManager(); void setEntityManager(EntityManager entityManager);  }### Answer:
@Test public void testLoadProjects() throws IOException { loader.loadProjects(); }