query = IssueQuery.builder().sort(IssueQuery.Sort.UPDATE_DATE).build();
<BUG>results = dao.selectIssueAndProjectIds(query, newArrayList(399), 1000);
</BUG>
assertThat(results.get(0).getIssueUpdateDate()).isNotNull();
query = IssueQuery.builder().sort(IssueQuery.Sort.CLOSE_DATE).build();
<BUG>results = dao.selectIssueAndProjectIds(query, newArrayList(399), 1000);
</BUG>
assertThat(results.get(0).getIssueCloseDate()).isNotNull();
}
@Test

query = IssueQuery.builder().sort(IssueQuery.Sort.UPDATE_DATE).build();
results = dao.selectIssueAndProjectIds(query, defaultIssueQueryResult, newArrayList(399));
assertThat(results.get(0).getIssueUpdateDate()).isNotNull();
query = IssueQuery.builder().sort(IssueQuery.Sort.CLOSE_DATE).build();
results = dao.selectIssueAndProjectIds(query, defaultIssueQueryResult, newArrayList(399));
assertThat(results.get(0).getIssueCloseDate()).isNotNull();
}
@Test
