Пример #1
0
 @Test
 @DatabaseSetup("entityTel-delete.xml")
 @DatabaseTearDown("teardown.xml")
 public void testDeleteEntityTel() throws Exception {
   Entity entity = new Entity();
   entity.setId(1L);
   updateDao.deleteAsInnerObjects(entity);
   super.assertTablesForUpdate("teardown.xml", "RDAP_VCARD_TEL");
 }
Пример #2
0
 @Test
 // @DatabaseSetup("ipAddress-delete.xml")
 @DatabaseTearDown("teardown.xml")
 public void testDeleteIpAddress() throws Exception {
   super.databaseSetupWithBinaryColumns("ipAddress-delete.xml");
   Nameserver nameserver = new Nameserver();
   nameserver.setId(1L);
   updateDao.deleteAsInnerObjects(nameserver);
   super.assertTablesForUpdate("teardown.xml", "RDAP_NAMESERVER_IP");
 }