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