### Question:
MongoDbRegionWidgetRepository implements RegionWidgetRepository { @Override public Class<? extends RegionWidget> getType() { return RegionWidgetImpl.class; }  @Override Class<? extends RegionWidget> getType(); @Override RegionWidget get(String id); @Override RegionWidget save(RegionWidget item); @Override void delete(RegionWidget item); @Override List<RegionWidget> getAll(); @Override List<RegionWidget> getLimitedList(int offset, int pageSize); @Override int getCountAll(); void setTemplate(MongoPageOperations template);  }### Answer:
@Test public void getType_Valid() { assertThat((Class)widgetRepository.getType(), is(equalTo((Class)RegionWidgetImpl.class))); }