### Question:
JpaTagRepository implements TagRepository { @Override public List<Tag> getAll() { TypedQuery<JpaTag> query = manager.createNamedQuery(JpaTag.GET_ALL, JpaTag.class); return CollectionUtils.<Tag>toBaseTypedList(query.getResultList()); }  @Override List<Tag> getAll(); @Override List<Tag> getLimitedList(int offset, int limit); @Override Class<? extends Tag> getType(); @Override int getCountAll(); @Override JpaTag getByKeyword(String keyword); @Override Tag get(String id); @Override Tag save(Tag item); @Override void delete(Tag item);  }### Answer:
@Test public void getList() { List<Tag> list = repository.getAll(); assertTrue(list.size() == 3); assertEquals(list.iterator().next().getKeyword(), "misc"); }