### Question:
ProjectDAO { public Project getProjectByFile(String filePath) { for (Project project : projects) { if (project.containsFile(filePath) && project.getStatus() != ProjectStatus.DELETED) { return project; } } return null; } 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();  }### Answer:
@Test public void TestGetProjectByFile() { assertTrue(dao.getProjectByFile("asdasdasd") == null); assertTrue(dao.getProjectByFile("directory") != null); }