2829303132333435363738394041
} } @Test public void save(){ Product product=new Product(); product.setName("ipad2"); product.setPrice(3000.f); product.setDescription("ipad2"); product.setCategoryid("1"); boolean b=productService.save(product); System.out.println(b); }
414243444546474849505152
} @Test public void update(){ Product product=productService.getModel(3); product.setName("����"); product.setDescription("�����ʼDZ�"); boolean b=productService.update(product); System.out.println(b); }