public void AnyCommandShouldBeSerializable()
        {
            //arrange
               var commands = new ConfigurationHelper().FindCommands();

               //assert
               commands.Each(
               command =>
                   command.GetCustomAttributes(false)
                   .Where(attribute => attribute.GetType() == typeof(SerializableAttribute))
                   .Any()
                   .ShouldBeTrue()
                   );
        }
        public void AtLeastOneHandlerForAnyCommand()
        {
            //arrange
            var configurationHelper = new ConfigurationHelper();
            var commands = configurationHelper.FindCommands();
            var commandHandlers = configurationHelper.FindCommandHandlers();

            //assert
            commands.Where(
                command =>
                    commandHandlers
                    .Where(
                    handler =>
                        handler.GetInterfaces().First().GetGenericArguments().First().FullName == command.FullName)
                        .Any()
                    )
                .Any()
                .ShouldBeTrue();
        }