### Question:
CategoryServiceImpl implements CategoryService { @Override public ProductCategory findOne(Integer categoryId) { return repository.findOne(categoryId); }  @Override ProductCategory findOne(Integer categoryId); @Override List<ProductCategory> findAll(); @Override List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList); @Override ProductCategory save(ProductCategory productCategory);  }### Answer:
@Test public void findOne() throws Exception { ProductCategory productCategory = categoryService.findOne(1); Assert.assertEquals(new Integer(1), productCategory.getCategoryId()); }