"apache-tomcat-5.5.30.zip", "avatar1.png", "jira_logo.gif", "snipe.png", "transparent-png.png"));
// worklogs
final Iterable<Worklog> worklogs = issue.getWorklogs();
assertEquals(5, Iterables.size(worklogs));
final Worklog expectedWorklog1 = new Worklog(
toUri("http://localhost:8090/jira/rest/api/2/issue/10010/worklog/10011"),
toUri("http://localhost:8090/jira/rest/api/latest/issue/10010"), TestConstants.USER1_BASIC,
TestConstants.USER1_BASIC, "another piece of work",
toDateTime("2010-08-17T16:38:00.013+02:00"), toDateTime("2010-08-17T16:38:24.948+02:00"),
toDateTime("2010-08-17T16:37:00.000+02:00"), 15, Visibility.role("Developers"));
final Worklog worklog1 = Iterables.get(worklogs, 1);
assertEquals(expectedWorklog1, worklog1);
final Worklog worklog2 = Iterables.get(worklogs, 2);
assertEquals(Visibility.group("jira-users"), worklog2.getVisibility());
final Worklog worklog3 = Iterables.get(worklogs, 3);
assertEquals(StringUtils.EMPTY, worklog3.getComment());
// comments
assertEquals(4, Iterables.size(issue.getComments()));
final Comment comment = issue.getComments().iterator().next();
assertEquals(Visibility.Type.ROLE, comment.getVisibility().getType());