### Question:
SpringDataPageRequest implements PageRequest, Pageable { public boolean isSortAscending() { return this.pageRequest.isSortAscending(); } SpringDataPageRequest(PageRequest pageRequest); int getPageNumber(); int getPageSize(); int getOffset(); String getSortColumn(); boolean isSortAscending(); Map<String, String> getFilters(); Sort getSort();  }### Answer:
@Test public void shouldDelegateIsSortAscending() throws Exception { boolean sortAscending = false; given(this.delegate.isSortAscending()).willReturn(sortAscending); assertThat(this.request.isSortAscending(), is(sortAscending)); }