q2.title = "Question 2";
given(stackOverflow.searchForQuestionsTagged("spring")).willReturn(Arrays.asList(q1, q2));
given(projectMetadataService.getProjects()).willReturn(Arrays.asList(
new Project("spring-framework", "Spring Framework", null, null,
Collections.emptyList(), false, "active", "spring-core, spring-framework, spring"),
new Project("spring-data", "Spring Data", null, null,
Collections.emptyList(), true, "active", "spring-data,spring-data-mongodb"),
new Project("spring-data-mongodb", "Spring Data MongoDB", null, null, Collections.emptyList(), false, "active", ""),
new Project("spring-data-graph", "Spring Data Graph", null, null, Collections.emptyList(), false, "attic", ""),
new Project("spring-scala", "Spring Scala", null, null, Collections.emptyList(), false, "incubator", "")
));
questionsController = new QuestionsController(projectMetadataService, stackOverflow);
}