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