### Question:
ProductServiceImpl implements ProductService { @Transactional(propagation=Propagation.REQUIRED) public boolean update(Product product) { return productDao.update(product); }  @Transactional(propagation=Propagation.REQUIRED) List<Product> listAll(); @Transactional(propagation=Propagation.REQUIRED) boolean save(Product product); @Transactional(propagation=Propagation.REQUIRED) boolean update(Product product); @Transactional(propagation=Propagation.REQUIRED) Product getModel(int id); @Override List<Product> selectLikeName(String name);  }### Answer:
@Test public void update(){ Product product=productService.getModel(3); product.setName("戴尔"); product.setDescription("戴尔笔记本"); boolean b=productService.update(product); System.out.println(b); }