### Question:
CategoryServiceImpl implements CategoryService { @Override public void insertCategories(Iterable<Category> iterable) { categoryRepository.save(iterable); }  @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 insertCategories() throws Exception { List<Category> list = new ArrayList<>(); for (int i=0;i<100;i++){ Category category = new Category(); category.setName("java"+i); category.setParentId("0"+i); category.setHasParent(false); category.setCreateTime(new Date()); category.setUpdateTime(new Date()); list.add(category); } categoryService.insertCategories(list); }