// should find by key
Issue issueDoc = indexClient.get(IssueIndex.class).getByKey(issue.getKey());
// Check all normalized fields
assertThat(issueDoc.actionPlanKey()).isEqualTo(issue.getActionPlanKey());
assertThat(issueDoc.assignee()).isEqualTo(issue.getAssignee());
assertThat(issueDoc.authorLogin()).isEqualTo(issue.getAuthorLogin());
assertThat(issueDoc.closeDate()).isEqualTo(issue.getIssueCloseDate());
assertThat(issueDoc.effortToFix()).isEqualTo(issue.getEffortToFix());
assertThat(issueDoc.resolution()).isEqualTo(issue.getResolution());
assertThat(issueDoc.ruleKey()).isEqualTo(RuleKey.of(issue.getRuleRepo(), issue.getRule()));