@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"); }
@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"); }