def METHOD_NAME(self, session_kwargs=None):
    backend = Mock()
    backend.ID_KEY = "email"
    backend.name = "mock-backend"
    strategy = Mock()
    strategy.request = None
    strategy.request_data.return_value = {}
    strategy.session_get.return_value = object()
    strategy.partial_load.return_value = TestPartial.prepare(
        backend.name, 0, {"args": [], "kwargs": session_kwargs or {}}
    )
    backend.strategy = strategy
    return backend