def METHOD_NAME(self):
    x = Domain(name='x')
    x.save()
    y = Domain(name='y')
    y.save()
    y.delete(leave_tombstone=True)
    self.addCleanup(x.delete)
    self.addCleanup(y.delete)
    self.assertTrue(domain_exists('x'))
    self.assertFalse(deleted_domain_exists('x'))
    self.assertTrue(domain_or_deleted_domain_exists('x'))
    self.assertFalse(domain_exists('y'))
    self.assertTrue(deleted_domain_exists('y'))
    self.assertTrue(domain_or_deleted_domain_exists('y'))
    self.assertTrue(len(list(iter_all_domains_and_deleted_domains_with_name('x'))), 1)
    self.assertTrue(len(list(iter_all_domains_and_deleted_domains_with_name('y'))), 1)