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