Exemplo n.º 1
0
        public void should_send_replay_phase_ended()
        {
            using (MessageId.PauseIdGeneration())
            {
                _replayer.Run(new CancellationToken());

                _transport.Expect(new TransportMessageSent(new ReplayPhaseEnded(_replayId).ToTransportMessage(_selfPeer, wasPersisted: false), _targetPeer));
                _bus.Expect(new ReplaySessionEnded(_targetPeer.Id, _replayId));
            }
        }