### Question:
PageRequestAdapter implements PageRequest { public boolean isSortAscending() { return this.state.isSortAscending(); } PageRequestAdapter(PagedDataModelState state); int getPageNumber(); int getPageSize(); int getOffset(); String getSortColumn(); boolean isSortAscending(); Map<String, String> getFilters();  }### Answer:
@Test public void shouldGetSortAscending() throws Exception { boolean sortAscending = !this.state.isSortAscending(); this.state.setSortAscending(sortAscending); assertThat(this.adapter.isSortAscending(), is(equalTo(sortAscending))); }