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