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

            assemblyScanningTypeProvider.Validate().ShouldNotBeEmpty();
        }
        public void ValidationShouldFail()
        {
            var assemblyScanningTypeProvider = new AssemblyScanningTypeProvider(Assembly.GetAssembly(typeof(DuplicateMessageType)));

            assemblyScanningTypeProvider.Validate().ShouldNotBeEmpty();
        }