### Question:
ProductServiceImpl implements ProductService { @Override public Result deleteCategory(String categoryId) { int result = productDAO.findUsedCategory(categoryId); if (result>0){ throw new CommonBizException(ExpCodeEnum.CATEGORY_HASUSED); } result = categoryDAO.deleteCategory(categoryId); if (result == 0){ throw new CommonBizException(ExpCodeEnum.CATEGORY_DELETE_FAIL); } return Result.newSuccessResult(); }  @Override Result createProduct(ProdInsertReq prodInsertReq); @Override Result updateProduct(ProdUpdateReq prodUpdateReq); @Override Result<List<ProductEntity>> findProducts(ProdQueryReq prodQueryReq); @Override Result createCategoty(CategoryEntity categoryEntity); @Override Result modifyCategory(CategoryEntity categoryEntity); @Override Result deleteCategory(String categoryId); @Override Result createBrand(BrandInsertReq brandInsertReq); @Override Result modifyBrand(BrandInsertReq brandInsertReq); @Override Result<List<CategoryEntity>> findCategorys(CategoryQueryReq categoryQueryReq); @Override Result<List<BrandEntity>> findBrands(BrandQueryReq brandQueryReq); void checkBrandParam(BrandInsertReq brandInsertReq);  }### Answer:
@Test public void testDeleteCate(){ productService.deleteCategory("3fdebb1b7f144c378b9faf9b4e89a390"); }