### Question:
DefaultCategoryPermissionEvaluator extends AbstractModelPermissionEvaluator<Category> { @Override public Class<Category> getType() { return Category.class; } @Autowired  DefaultCategoryPermissionEvaluator(CategoryRepository categoryRepository); @Override Class<Category> getType(); @Override boolean hasPermission(Authentication authentication, Category category, Permission permission); @Override boolean hasPermission(Authentication authentication, Serializable targetId, String targetType, Permission permission);  }### Answer:
@Test public void testGetType() throws ClassNotFoundException { assertThat(defaultCategoryPermissionEvaluator.getType().getName(), is(Category.class.getName())); }