### Question:
JpaRegionRepository implements RegionRepository { @Override public List<Region> getAll() { log.warn("Requesting potentially large resultset of Region. No pagesize set."); TypedQuery<JpaRegion> query = manager.createNamedQuery(JpaRegion.REGION_GET_ALL, JpaRegion.class); return CollectionUtils.<Region>toBaseTypedList(query.getResultList()); }  @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 getAll(){ List<Region> regions = repository.getAll(); assertThat(regions, is(notNullValue())); assertThat(regions.size(), is(equalTo(34))); assertThat(regions.get(0).getId(), is(equalTo("1"))); }