### Question:
DefaultWidgetPermissionEvaluator extends AbstractModelPermissionEvaluator<Widget> { @Override public Class<Widget> getType() { return Widget.class; } @Autowired  DefaultWidgetPermissionEvaluator(WidgetRepository widgetRepository, TagRepository tagRepository); @Override Class<Widget> getType(); @Override boolean hasPermission(Authentication authentication, Widget widget, Permission permission); @Override boolean hasPermission(Authentication authentication, Serializable targetId, String targetType, Permission permission);  }### Answer:
@Test public void testGetType() throws ClassNotFoundException { assertThat(defaultWidgetPermissionEvaluator.getType().getName(), is(Widget.class.getName())); }