toDateTime("2010-08-27T14:59:00.000"), 7, null);
assertEquals(expectedWorklog, actualWorklog);
// issue links
assertThat(issue.getIssueLinks(), IsIterableContainingInOrder.contains(
new IssueLink("TST-1", resolveURI("rest/api/2/issue/10000"), new IssueLinkType("Duplicate", "duplicates", IssueLinkType.Direction.OUTBOUND)),
new IssueLink("TST-1", resolveURI("rest/api/2/issue/10000"), new IssueLinkType("Duplicate", "is duplicated by", IssueLinkType.Direction.INBOUND))
));
// fix versions
final Version actualFixVersion = Iterables.getOnlyElement(issue.getFixVersions());
final Version expectedFixVersion = new Version(resolveURI("rest/api/2/version/10000"), 10000L, "1.1", "Some version", false, false, toDateTime("2010-08-25T00:00:00.000"));