public void broken_executor_should_publish_executed_event()
        {
            GivenCommandQueue();
            var commandA     = new CommandA();
            var commandModel = new CommandModel
            {
                Body = commandA
            };

            _executorA.Setup(s => s.Execute(It.IsAny <CommandA>()))
            .Throws(new NotImplementedException());

            Subject.Handle(new ApplicationStartedEvent());

            QueueAndWaitForExecution(commandModel, true);

            VerifyEventPublished <CommandExecutedEvent>();

            ExceptionVerification.WaitForErrors(1, 500);
        }