IssueDoc manualIssue = (IssueDoc) indexClient.get(IssueIndex.class).getByKey(result.key());
assertThat(manualIssue.componentUuid()).isEqualTo(file.uuid());
assertThat(manualIssue.projectUuid()).isEqualTo(project.uuid());
assertThat(manualIssue.ruleKey()).isEqualTo(manualRule.getKey());
assertThat(manualIssue.message()).isEqualTo("Fix it");
assertThat(manualIssue.line()).isEqualTo(10);
assertThat(manualIssue.severity()).isEqualTo(Severity.MINOR);
assertThat(manualIssue.effortToFix()).isEqualTo(2d);
assertThat(manualIssue.reporter()).isEqualTo(connectedUser.getLogin());
}