### Question:
JpaAuthorityRepository implements AuthorityRepository { @Override public Class<? extends Authority> getType() { return JpaAuthority.class; }  @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 getType() { assertEquals(repository.getType(), JpaAuthority.class); }