Exemplo n.º 1
0
 /** Deletes existing entity */
 @Test
 @Transactional
 @Ignore
 public void deleteEnttry() {
   customerDAO.deleteCustomer("ameer");
 }
Exemplo n.º 2
0
 /** This method checks for an entity not located in the database and trys to delete it. */
 @Test(expected = ObjectRetrievalFailureException.class)
 @Ignore
 public void deleteFakeEntry() {
   customerDAO.deleteCustomer("steve");
 }