public void Stopping_waiter_service_stops_the_bus()
        {
            _waiterCommandService.Start();
            _waiterCommandService.Stop();

            _busControl.Received(1).Stop();
        }
        public void Start_tab_service_starts_message_bus()
        {
            _tabCommandService.Start();

            _busControl.Received(1).Start();
        }
Example #3
0
 public void Publishes_event_to_message_bus()
 {
     _busControl.Received(1).Publish((object)_event);
 }
Example #4
0
        public void Starting_event_projecting_service_starts_the_bus()
        {
            _eventProjectingService.Start();

            _busControl.Received(1).Start();
        }