def METHOD_NAME(self):
    form = create_form_for_test(self.active_domain.name)
    form_adapter.index(form, refresh=True)
    self.addCleanup(form_adapter.delete, form.form_id)
    counts_by_domain = find_es_docs_for_deleted_domains()
    self.assertTrue(self.active_domain.name not in counts_by_domain)