public void TestFiveStepSendingProcess()
        {
            var process = _world.ActorFor <IFiveStepProcess>(() => new FiveStepSendingSourcedProcess());

            _exchangeReceivers.SetProcess(process);

            _exchange.Send(new DoStepOne());

            Assert.Equal(5, _exchangeReceivers.Access.ReadFrom <int>("stepCount"));

            Assert.Equal(5, process.QueryStepCount().Await());
        }
        public void TestFiveStepEmittingProcess()
        {
            var process = _world.ActorFor<IFiveStepProcess>(() => new FiveStepEmittingStatefulProcess());
            _exchangeReceivers.SetProcess(process);
            _dispatcher.AfterCompleting(4);
            
            _exchange.Send(new DoStepOne());

            Assert.Equal(5, _exchangeReceivers.Access.ReadFrom<int>("stepCount"));

            Assert.Equal(5, process.QueryStepCount().Await());
        }