def METHOD_NAME(self):
    self.registry1 = DataRegistry(
        domain="domain_owner",
        name="Patient Registry",
        description="Registry of Malaria Patients",
        slug="reg1",
    )
    self.registry1.get_granted_domains = _mock_get_granted_domain({"domain1", "domain2"})
    self.registry2 = DataRegistry(
        domain="domain_owner_1",
        name="Contact Registry",
        description="Registry of Contacts",
        slug="contacts",
        is_active=False,
    )