IssueTrackingResult trackingResult = mock(IssueTrackingResult.class);
when(trackingResult.matched()).thenReturn(newArrayList(issue));
when(trackingResult.matching(eq(issue))).thenReturn(previousIssue);
decorator.mergeMatched(trackingResult);
assertThat(issue.changes()).hasSize(1);
}
}