IssueQuery query = IssueQuery.builder().sort(IssueQuery.Sort.ASSIGNEE).build();
List<IssueDto> results = dao.selectIssueAndProjectIds(query, newArrayList(399), 1000);
</BUG>
assertThat(results.get(0).getAssignee()).isNotNull();
query = IssueQuery.builder().sort(IssueQuery.Sort.SEVERITY).build();
<BUG>results = dao.selectIssueAndProjectIds(query, newArrayList(399), 1000);
</BUG>
assertThat(results.get(0).getSeverity()).isNotNull();
query = IssueQuery.builder().sort(IssueQuery.Sort.STATUS).build();
<BUG>results = dao.selectIssueAndProjectIds(query, newArrayList(399), 1000);
</BUG>
assertThat(results.get(0).getStatus()).isNotNull();

IssueQuery query = IssueQuery.builder().sort(IssueQuery.Sort.ASSIGNEE).build();
List<IssueDto> results = dao.selectIssueAndProjectIds(query, defaultIssueQueryResult, newArrayList(399));
assertThat(results.get(0).getAssignee()).isNotNull();
query = IssueQuery.builder().sort(IssueQuery.Sort.SEVERITY).build();
results = dao.selectIssueAndProjectIds(query, defaultIssueQueryResult, newArrayList(399));
assertThat(results.get(0).getSeverity()).isNotNull();
query = IssueQuery.builder().sort(IssueQuery.Sort.STATUS).build();
results = dao.selectIssueAndProjectIds(query, defaultIssueQueryResult, newArrayList(399));
assertThat(results.get(0).getStatus()).isNotNull();
