new PropertyDto().setKey("sonar.jira.project.key").setValue("SONAR-SERVER"),
// This property should not be found on the other module
new PropertyDto().setKey("sonar.coverage.exclusions").setValue("**/*.java")
));
when(propertiesDao.selectProjectProperties(module2.key(), session)).thenReturn(newArrayList(
new PropertyDto().setKey("sonar.jira.project.key").setValue("SONAR-APPLICATION")
));
WsTester.TestRequest request = tester.newGetRequest("batch", "project").setParam("key", project.key());
request.execute().assertJson(getClass(), "return_project_with_two_modules.json");