### Question:
JpaAuthorityRepository implements AuthorityRepository { @Override public List<Authority> getAll() { TypedQuery<JpaAuthority> query = manager.createNamedQuery(JpaAuthority.GET_ALL, JpaAuthority.class); return CollectionUtils.<Authority>toBaseTypedList(query.getResultList()); }  @Override Authority getByAuthority(String authorityName); @Override List<Authority> getAll(); @Override List<Authority> getLimitedList(int offset, int limit); @Override List<Authority> getAllDefault(); @Override int getCountAll(); @Override Class<? extends Authority> getType(); @Override Authority get(String id); @Override Authority save(Authority item); @Override void delete(Authority item);  }### Answer:
@Test public void getAll() { List<Authority> allAuthorities = repository.getAll(); assertFalse("Found authorities", allAuthorities.isEmpty()); }