@Test
public void testNlLintIssueEqual() {

  LintAnnotationsModel model = new LintAnnotationsModel();
  NlComponent sameComponent = mock(NlComponent.class);
  PsiElement startElement = mock(PsiElement.class);
  PsiElement endElement = mock(PsiElement.class);
  MockIssueFactory.addLintIssue(model, HighlightDisplayLevel.ERROR, sameComponent, startElement, endElement);
  MockIssueFactory.addLintIssue(model, HighlightDisplayLevel.ERROR, sameComponent, startElement, endElement);
  MockIssueFactory.addLintIssue(model, HighlightDisplayLevel.ERROR, sameComponent);
  List<LintAnnotationsModel.IssueData> issues = model.getIssues();
  Assert.assertEquals(new LintIssueProvider.LintIssueWrapper(issues.get(0)), new LintIssueProvider.LintIssueWrapper(issues.get(1)));
  Assert.assertEquals(new LintIssueProvider.LintIssueWrapper(issues.get(0)).hashCode(),
                      new LintIssueProvider.LintIssueWrapper(issues.get(1)).hashCode());
  Assert.assertNotEquals(new LintIssueProvider.LintIssueWrapper(issues.get(0)), new LintIssueProvider.LintIssueWrapper(issues.get(2)));
  Assert.assertNotEquals(new LintIssueProvider.LintIssueWrapper(issues.get(0)).hashCode(),
                         new LintIssueProvider.LintIssueWrapper(issues.get(2)).hashCode());
}