assertEquals(Long.valueOf(10040), issue.getId());
assertEquals(toUri("http://localhost:8090/jira/rest/api/latest/issue/10040"), issue.getSelf());
assertEquals("A task where someone will vote", issue.getSummary());
assertNull(issue.getDescription()); // by default search doesn't retrieve description
final BasicPriority expectedPriority = new BasicPriority(toUri("http://localhost:8090/jira/rest/api/2/priority/3"), 3L, "Major");
assertEquals(expectedPriority, issue.getPriority());
final BasicStatus expectedStatus = new BasicStatus(toUri("http://localhost:8090/jira/rest/api/2/status/1"), "Open");
assertEquals(expectedStatus, issue.getStatus());