def METHOD_NAME(self, source_app, app_storage):
    # Given a source user
    passphrase = PassphraseGenerator.get_default().generate_passphrase()
    create_source_user(
        db_session=db.session,
        source_passphrase=passphrase,
        source_app_storage=app_storage,
    )
    with source_app.test_request_context():
        # Who previously logged in
        SessionManager.log_user_in(db_session=db.session, supplied_passphrase=passphrase)
        # When they log out, it succeeds
        SessionManager.log_user_out()
        # And the SessionManager no longer returns a current user
        assert not SessionManager.is_user_logged_in(db_session=db.session)
        with pytest.raises(UserNotLoggedIn):
            SessionManager.get_logged_in_user(db_session=db.session)