### Question:
DefaultRegionWidgetPermissionEvaluator extends AbstractModelPermissionEvaluator<RegionWidget> { @Override public Class<RegionWidget> getType() { return RegionWidget.class; } @Autowired  DefaultRegionWidgetPermissionEvaluator(RegionWidgetRepository regionWidgetRepository, UserRepository userRepository); @Override Class<RegionWidget> getType(); @Override boolean hasPermission(Authentication authentication, RegionWidget regionWidget, Permission permission); @Override boolean hasPermission(Authentication authentication, Serializable targetId, String targetType, Permission permission);  }### Answer:
@Test public void testGetType() throws ClassNotFoundException { assertThat(defaultRegionWidgetPermissionEvaluator.getType().getName(), is(RegionWidget.class.getName())); }