def METHOD_NAME(sid: SessionId, client1: Address, client2: Address):
    websocket1 = cast(WebSocket, FakeWebSocket({PARAM_NAME: sid}, client1))
    websocket2 = cast(WebSocket, FakeWebSocket({PARAM_NAME: sid}, client2))
    manager = SessionManager(PARAM_NAME)
    with pytest.raises(SessionException):
        with manager.session_for(websocket1) as got_sid1:
            assert got_sid1 == sid
            with manager.session_for(websocket2):
                pass