@Test
public void load_changelog_and_related_users() throws Exception {
FieldDiffs userChange = new FieldDiffs().setUserLogin("arthur").setDiff("severity", "MAJOR", "BLOCKER");
FieldDiffs scanChange = new FieldDiffs().setDiff("status", "RESOLVED", "CLOSED");
when(changeDao.selectChangelogByIssue("ABCDE")).thenReturn(Arrays.asList(userChange, scanChange));
User arthur = new DefaultUser().setLogin("arthur").setName("Arthur");
when(userFinder.findByLogins(Arrays.asList("arthur"))).thenReturn(Arrays.asList(arthur));
when(issueService.getByKey("ABCDE")).thenReturn(new DefaultIssue().setKey("ABCDE"));
IssueChangelog changelog = service.changelog("ABCDE");