### Question:
CategoryServiceImpl implements CategoryService { @Override public ProductCategory save(ProductCategory productCategory) { return repository.save(productCategory); }  @Override Optional<ProductCategory> findById(Integer categoryId); @Override List<ProductCategory> findAll(); @Override List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList); @Override ProductCategory save(ProductCategory productCategory); @Override void delete(Integer categoryId);  }### Answer:
@Test @Transactional public void save() { ProductCategory productCategory = new ProductCategory("男生专享" , 3); ProductCategory result = categoryService.save(productCategory); Assert.assertNotNull(result); }