public void testGetSimpleProject() throws DAOException { projectService.create(project); Project projectTest = projectService.getSimpleProject(project.getId()); projectService.delete(project); assertNotNull(projectTest); }
private void createProjectWithMembers() throws DAOException { for (Member member : members) { memberService.create(member); } project.setMembers(members); Long idProject = projectService.create(project); project.setId(idProject); }