def METHOD_NAME():
    sid1 = SessionId("123")
    sid2 = SessionId("456")
    websocket1 = cast(
        WebSocket, FakeWebSocket({PARAM_NAME: sid1}, Address("local", 1011))
    )
    websocket2 = cast(
        WebSocket, FakeWebSocket({PARAM_NAME: sid2}, Address("local", 2022))
    )
    manager = SessionManager(PARAM_NAME)
    with manager.session_for(websocket1) as got_sid1:
        assert got_sid1 == sid1
        with manager.session_for(websocket2) as got_sid2:
            assert got_sid2 == sid2