def METHOD_NAME(self):
    with patch('corehq.apps.linked_domain.util.domain_has_privilege') as mock_domain_has_privilege:
        mock_domain_has_privilege.return_value = False
        result = can_domain_access_linked_domains('test')
    self.assertFalse(result)