### Question:
MongoDbPageLayoutRepository implements PageLayoutRepository { @Override public Class<? extends PageLayout> getType() { return CLASS; }  @Override PageLayout getByPageLayoutCode(String codename); @Override List<PageLayout> getAll(); @Override List<PageLayout> getLimitedList(int offset, int limit); @Override int getCountAll(); @Override List<PageLayout> getAllUserSelectable(); @Override Class<? extends PageLayout> getType(); @Override PageLayout get(String id); @Override PageLayout save(PageLayout item); @Override void delete(PageLayout item); void setTemplate(MongoOperations template); static final Class<MongoDbPageLayout> CLASS; }### Answer:
@Test public void getType_Valid() { assertThat((Class<MongoDbPageLayout>) pageLayoutRepository.getType(), is(equalTo(MongoDbPageLayout.class))); }