### Question:
PageRequest implements Pageable { @Override public int getOffset() { return getOffset(pageNumber); } PageRequest(String requestedPageNumber, int pageSize);  PageRequest(int pageNumber, int pageSize); @Override int getPageNumber(); @Override int getPageSize(); @Override int getOffset(); @Override Sort getSort(); void adjustPageNumber(int totalCount); static PageRequest fetchFromPage(Page page); static final int FIRST_PAGE_NUMBER; static final int MAX_PAGE; }### Answer:
@Test public void testGetOffset_LessThanOnePageNumber() { pageRequest = new PageRequest(REQUESTED_NEGATIVE_PAGE_NUMBER, PAGE_SIZE_10); assertEquals(pageRequest.getOffset(), ZERO); }