### Question:
JpaRegionRepository implements RegionRepository { @Override public List<Region> getLimitedList(int offset, int pageSize) { TypedQuery<JpaRegion> query = manager.createNamedQuery(JpaRegion.REGION_GET_ALL, JpaRegion.class); return CollectionUtils.<Region>toBaseTypedList(getPagedResultList(query, offset, pageSize)); }  @Override Class<? extends Region> getType(); @Override Region get(String id); @Override Region save(Region item); @Override void delete(Region item); @Override List<Region> getAll(); @Override List<Region> getLimitedList(int offset, int pageSize); @Override int getCountAll();  }### Answer:
@Test public void getLimitedSet(){ List<Region> regions = repository.getLimitedList(0, 10); assertThat(regions.size(), is(equalTo(10))); }