### Question:
JpaPortalPreferenceRepository implements PortalPreferenceRepository { @Override public Class<? extends PortalPreference> getType() { return JpaPortalPreference.class; }  @Override List<PortalPreference> getAll(); @Override List<PortalPreference> getLimitedList(int offset, int pageSize); @Override int getCountAll(); @Override PortalPreference getByKey(String key); @Override Class<? extends PortalPreference> getType(); @Override PortalPreference get(String id); @Override PortalPreference save(PortalPreference item); @Override void delete(PortalPreference item);  }### Answer:
@Test public void getType() { assertEquals(repository.getType(), JpaPortalPreference.class); }