### Question:
SimpleBundleProvider implements IBundleProvider { @Override public Integer preferredPageSize() { return myPreferredPageSize; } SimpleBundleProvider(IBaseResource theResource);  SimpleBundleProvider();  SimpleBundleProvider(List<? extends IBaseResource> theList);  SimpleBundleProvider(List<? extends IBaseResource> theList, String theUuid); @Override IPrimitiveType<Date> getPublished(); void setPublished(IPrimitiveType<Date> thePublished); @Nonnull @Override List<IBaseResource> getResources(int theFromIndex, int theToIndex); @Override String getUuid(); @Override Integer preferredPageSize(); void setPreferredPageSize(Integer thePreferredPageSize); SimpleBundleProvider setSize(Integer theSize); @Override Integer size();  }### Answer:
@Test public void testPreferredPageSize() { SimpleBundleProvider p = new SimpleBundleProvider(); assertEquals(null, p.preferredPageSize()); p.setPreferredPageSize(100); assertEquals(100, p.preferredPageSize().intValue()); }