### Question:
PageRequest implements Pageable { @Override public int getPageSize() { return pageSize; } 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 testConstructor_LessThanOnePageSizeConvertedToDefaultPageSize() { pageRequest = new PageRequest(PAGE_NUMBER, ZERO); assertEquals(pageRequest.getPageSize(), JCUser.DEFAULT_PAGE_SIZE); }
@Test() public void testConstructor_NonNumericPageSizeConvertedToDefaultPageSize() { pageRequest = new PageRequest(GARBAGE, ZERO); assertEquals(pageRequest.getPageSize(), JCUser.DEFAULT_PAGE_SIZE); }