@Test public void deleteCategoryById() throws Exception { categoryService.deleteCategoryById(100L); }
@Override public void deleteCategoryById(Long id) { categoryRepository.delete(id); }
CategoryServiceImpl implements CategoryService { @Override public void deleteCategoryById(Long id) { categoryRepository.delete(id); } }
CategoryServiceImpl implements CategoryService { @Override public void deleteCategoryById(Long id) { categoryRepository.delete(id); }  }
CategoryServiceImpl implements CategoryService { @Override public void deleteCategoryById(Long id) { categoryRepository.delete(id); }  @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); }
CategoryServiceImpl implements CategoryService { @Override public void deleteCategoryById(Long id) { categoryRepository.delete(id); }  @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);  }