def METHOD_NAME():
    websocket = cast(
        WebSocket,
        FakeWebSocket(
            {PARAM_NAME: SessionId("2001")},
            Address("local", 456),
            {"origin": "http://[::1]:9526"},
        ),
    )
    manager = SessionManager(PARAM_NAME)
    with manager.session_for(websocket) as got_sid:
        assert got_sid == "2001"