### Question:
PagedDataModelState extends LazyDataModelState { public void setPageSize(int pageSize) { Assert.isTrue(pageSize >= 1, "PageSize must be a positive number"); this.pageSize = pageSize; } PagedDataModelState(int pageSize); int getPageSize(); void setPageSize(int pageSize); boolean isSortAscending(); void setSortAscending(boolean sortAscending); String getSortColumn(); void setSortColumn(String sortColumn); Map<String, String> getFilters(); void setFilters(Map<String, String> filters);  }### Answer:
@Test public void shouldNeedAPositivePageSize() throws Exception { this.thrown.expect(IllegalArgumentException.class); this.thrown.expectMessage("PageSize must be a positive number"); this.state.setPageSize(-2); }