def METHOD_NAME():
    websocket = cast(
        WebSocket,
        FakeWebSocket(
            {PARAM_NAME: SessionId("2002")},
            Address("local", 456),
            {"origin": "null"},
        ),
    )
    manager = SessionManager(PARAM_NAME)
    with pytest.raises(SessionException):
        with manager.session_for(websocket):
            pass