public static void Main()
        {
            var validator = new AlphanumericValidator(
                new LengthValidator(0, 10,
                                    new SimpleValidator()));

            System.Console.WriteLine(validator.Validate("a"));
        }
        public static void Main()
        {
            var validator = new AlphanumericValidator(
                new LengthValidator(0, 10,
                    new SimpleValidator()));

            Console.WriteLine(validator.Validate("a"));
        }
 public void TestInitialize()
 {
     _alphanumericValidator = new AlphanumericValidator();
 }