### Question:
JpaGroupRepository implements GroupRepository { @Override public List<Group> getAll() { TypedQuery<JpaGroup> query = manager.createNamedQuery(JpaGroup.GET_ALL, JpaGroup.class); return CollectionUtils.<Group>toBaseTypedList(query.getResultList()); }  @Override Class<? extends Group> getType(); @Override Group get(String id); @Override List<Group> getAll(); @Override List<Group> getLimitedList(int offset, int limit); @Override int getCountAll(); @Override Group save(Group item); @Override void delete(Group item); @Override Group findByTitle(String title);  }### Answer:
@Test public void getList() { List<Group> list = repository.getAll(); assertEquals(2, list.size()); }