public void TheExceptionShouldIncludeAnInnerException()
        {
            var assemblyScanningTypeProvider = new AssemblyScanningTypeProvider(typeof(UnserializableCommandWhoseAssemblyShouldNotBeIncluded).Assembly);

            var exception = Assert.Throws<BusException>(() => assemblyScanningTypeProvider.Verify());

            exception.InnerException.ShouldNotBe(null);
        }
        public void TheAssemblyScannerShouldGoBang()
        {
            var assemblyScanningTypeProvider = new AssemblyScanningTypeProvider(typeof (CommandWhoseAssemblyShouldNotBeIncludedHandler).Assembly);

            assemblyScanningTypeProvider.Verify();
        }