### Question:
UIPagedData extends UIComponentBase { public int getPageSize() { return (Integer) getStateHelper().eval(PropertyKeys.pageSize, DEFAULT_PAGE_SIZE); }  @Override String getFamily(); String getVar(); void setVar(String var); int getPageSize(); void setPageSize(int pageSize); String getSortColumn(); void setSortColumn(String sortColumn); Boolean getSortAscending(); void setSortAscending(Boolean sortAscending); @Override void restoreState(FacesContext context, Object state); @Override void encodeEnd(FacesContext context); static final String COMPONENT_FAMILY; }### Answer:
@Test public void shouldGetDefaultPageSizeOfTen() throws Exception { assertThat(this.uiPagedData.getPageSize(), is(equalTo(10))); }