ProductIbatisDao extends SqlMapClientDaoSupport implements ProductDao { @Override public void delete(int id) { getSqlMapClientTemplate().delete("Product.deleteProduct", id); }  @SuppressWarnings("unchecked") @Override List<Product> findAll(); @Override void delete(int id); @Override Product findProduct(String name); @Override Product findProductByID(int id); @SuppressWarnings("unchecked") @Override List<Product> findProductByTeamID(int teamId); @Override int create(Product product); @Override void update(Product product);  }
@Test public void testDelete() { productDao.delete(id); }