### Question:
CategoryServiceImpl implements CategoryService { @Override public void updateCategory(Category category) { categoryRepository.save(category); }  @Override void saveCategory(Category category); @Override void insertCategories(Iterable<Category> iterable); @Override void deleteCategoryById(Long id); @Override void updateCategory(Category category); @Override Iterable<Category> findAll(); @Override Category findCategoryById(Long id); @Override Page<Category> findCategoryByPage(Integer starPage, Integer itemNumber); @Override Page<Category> findCategoryByPageAndOrder(Integer starPage, Integer itemNumber);  }### Answer:
@Test public void updateCategory() throws Exception { Category category = categoryService.findCategoryById(2L); category.setName("修改你的名称"); categoryService.updateCategory(category); }