### Question:
ProductServiceImpl implements ProductService { @Override public Result createCategoty(CategoryEntity categoryEntity) { if (StringUtils.isEmpty(categoryEntity.getCategory())){ throw new CommonBizException(ExpCodeEnum.CATEGORY_NAME_NULL); } CategoryEntity category = makeCateInsert(categoryEntity); int result = categoryDAO.createCategoty(category); if (result == 0){ throw new CommonBizException(ExpCodeEnum.CATEGORY_CREATE_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 testCreateCate(){ CategoryEntity categoryEntity = new CategoryEntity(); categoryEntity.setCategory("学弟出品2"); categoryEntity.setParentId("d87b243d99e341d2b4af8e72bb49f6ad"); categoryEntity.setSort(11); productService.createCategoty(categoryEntity); }