public void when_dispatching_an_event_with_single_registered_handler_then_invokes_handler()
        {
            var @event = new EventB();

            this.sut.DispatchMessage(@event, "message", "correlation", "");

            this.handler1Mock.As <IEventHandler <EventB> >().Verify(h => h.Handle(@event), Times.Once());
        }
        public void when_dispatching_an_event_with_single_registered_handler_then_invokes_handler()
        {
            var @event = new EventB();

            this.sut.DispatchMessage(@event, "message", "correlation", "");

            this.handler1Mock.As<IEventHandler<EventB>>().Verify(h => h.Handle(@event), Times.Once());
        }