public void pages_for_module() throws Exception {
String uuid = "abcd";
ComponentDto project = ComponentTesting.newProjectDto(uuid);
ComponentDto module = ComponentTesting.newModuleDto(project);
UserSession userSession = MockUserSession.set().setLogin("obiwan").addProjectUuidPermissions(UserRole.ADMIN, uuid);
<BUG>List<ConfigPage> pages = new ComponentConfigurationPages(i18n, resourceTypes).getConfigPages(module, userSession);

assertThat(pages).extracting("visible").containsExactly(

false, false, false, true, false, false, false, false, false, false);</BUG>
}

public void pages_for_module() throws Exception {
String uuid = "abcd";
ComponentDto project = ComponentTesting.newProjectDto(uuid);
ComponentDto module = ComponentTesting.newModuleDto(project);
UserSession userSession = MockUserSession.set().setLogin("obiwan").addProjectUuidPermissions(UserRole.ADMIN, uuid);
Collection<ConfigPage> pages = new ComponentConfigurationPages(i18n, resourceTypes).getConfigPages(module, userSession);
assertThat(pages).extracting("name").containsExactly("manual_measures.page");
}
