@Test
 public void testFetchingIssueWithWorklogWhenAuthorIsDeleted() {
   final Issue issue = client.getIssueClient().getIssue(ISSUE_KEY_WITH_REMOVED_USER_DATA).claim();
   final Worklog worklog = issue.getWorklogs().iterator().next();
   assertNotNull(worklog);
   final BasicUser author = worklog.getAuthor();
   assertNotNull(author);
   assertThat(author.getName(), equalTo(REMOVED_USER_NAME));
   assertTrue("expected incomplete self uri", author.isSelfUriIncomplete());
 }
 // URIs are broken in 5.0 - https://jdog.atlassian.com/browse/JRADEV-7691
 private void assertEqualsNoUri(BasicUser expected, BasicUser actual) {
   assertEquals(expected.getName(), actual.getName());
   assertEquals(expected.getDisplayName(), actual.getDisplayName());
 }