@Test
public void testGetAllProjects() {

	final Project project1 = new Project("name1", "path1", Game.SC2);
	project1.setId(1);
	final Project project2 = new Project("name2", "path2", Game.HEROES);
	project2.setId(2);
	when(projectRepoMock.findAll()).thenReturn(Arrays.asList(project1, project2));
	
	final int numberOfProjects = projectService.getAllProjects().size();
	assertEquals(2, numberOfProjects, "not fetching all existing projects");
}