when(componentDao.getByUuid(session, file.uuid())).thenReturn(file);
DefaultIssue issue = new DefaultIssue()
.setKey(issueKey)
.setComponentKey("org.sonar.server.issue.IssueClient")
.setComponentUuid(file.uuid())
.setProjectKey("org.sonar.Sonar")
.setProjectUuid(project.uuid())
.setModuleUuid(module.uuid())
.setRuleKey(RuleKey.of("squid", "AvoidCycle"))
.setLine(12)