def METHOD_NAME(self):
    """
    Ensure that the cache for IdentityProvider.does_domain_trust_this_idp
    is cleared when a TrustedIdentityProvider is created or deleted.
    """
    self.assertFalse(
        self.idp.does_domain_trust_this_idp('vwx-001')
    )
    trust = TrustedIdentityProvider.objects.create(
        domain='vwx-001',
        identity_provider=self.idp,
        acknowledged_by='test@dimagi.com',
    )
    self.assertTrue(
        self.idp.does_domain_trust_this_idp('vwx-001')
    )
    trust.delete()
    self.assertFalse(
        self.idp.does_domain_trust_this_idp('vwx-001')
    )