def METHOD_NAME(self):
    """Asserts the authentication is not allowed when waffle switch is disabled."""
    strategy = load_strategy()
    backend = load_backend(strategy, "saml_fer", None)
    with mock.patch(
        "marsha.account.social_pipeline.social_auth.social_auth_allowed"
    ) as social_create_user_mock:
        details = {"not": "relevant"}
        self.assertFalse(
            auth_allowed(backend, details, strategy, 42, some_kwargs=18)
        )
        self.assertFalse(social_create_user_mock.called)