@Test
public void shouldListProjects() {

  String projectName = "project1";
  Project project = new Project(projectName);
  List<Project> expected = Arrays.asList(project);
  when(projectRepository.findAllByArchivedIsFalse()).thenReturn(expected);
  List<Project> actual = projectService.listProjects();
  Assert.assertEquals(expected, actual);
}