public void ExpectPublish_Failed_OnError()
        {
            var messageBus = new MessageBus();

            messageBus.InitializeTesting();
            messageBus.ExpectPublish <int>(null);

            string[] errors = null;
            messageBus.VerifyAllExpectations(s => errors = s);
            errors.Should().NotBeNullOrEmpty();
        }