def METHOD_NAME(self):
    with patch('corehq.apps.toggle_ui.views.toggles_enabled_for_domain.clear') as domain_mock,\
         patch('corehq.apps.toggle_ui.views.toggles_enabled_for_user.clear') as user_mock,\
         patch('corehq.apps.toggle_ui.views.toggles_enabled_for_email_domain.clear') as email_domain_mock:
        _clear_cache_for_toggle(NAMESPACE_EMAIL_DOMAIN, 'testemaildomain')
        self.assertEqual(0, domain_mock.call_count)
        self.assertEqual(0, user_mock.call_count)
        self.assertEqual(1, email_domain_mock.call_count)