@Test public void testGetProjects() { assertEquals(projectList, dao.getProjects()); }
public List<Project> getProjects() { return projects; }
ProjectDAO { public List<Project> getProjects() { return projects; } }
ProjectDAO { public List<Project> getProjects() { return projects; } ProjectDAO(DataSource<Project> dataSource); }
ProjectDAO { public List<Project> getProjects() { return projects; } ProjectDAO(DataSource<Project> dataSource); void loadProjects(); List<Project> getProjects(); void setProjects(List<Project> projects); void addProject(Project project); Project getProjectByFile(String filePath); Project getProjectByExercise(Exercise exercise); void save(); }
ProjectDAO { public List<Project> getProjects() { return projects; } ProjectDAO(DataSource<Project> dataSource); void loadProjects(); List<Project> getProjects(); void setProjects(List<Project> projects); void addProject(Project project); Project getProjectByFile(String filePath); Project getProjectByExercise(Exercise exercise); void save();  }