### Question:
ProductServiceImpl implements ProductService { public List<Product> dynaQuerySql(Product product) { return productMapper.dynaQuerySql(product); }  @Transactional(propagation=Propagation.REQUIRED) List<Product> listAllProduct(); @Transactional(propagation=Propagation.REQUIRED) List<Product> listProductByCategoryid(int categoryid); @Transactional(propagation=Propagation.REQUIRED) List<Product> listAllProductIncludeCategoryName(); void insertProduct(Product product); void updateProduct(Product product); Product findProductById(int id); List<Product> like(String name); List<Product> page(int pageNumber, int pageSize); List<Product> dynaQuerySql(Product product);  }### Answer:
@Test public void dynaQuerySql(){ List<Product> listAllProduct = productService.dynaQuerySql(new Product("ipad", 3000.0f, null, 1)); for (Product product : listAllProduct) { System.out.println(product); } }