public void NameValid()
        {
            var validator = new NameNotEmptyValidator();
            var errors    = validator.Validate(new Person {
                Name = "Vighi"
            });

            Assert.AreEqual(0, errors.Count);
        }
        public void NameNotBlanks()
        {
            var validator = new NameNotEmptyValidator();
            var errors    = validator.Validate(new Person {
                Name = "    "
            });

            Assert.AreEqual(1, errors.Count);
            Assert.AreEqual("Name not valid!", errors[0]);
        }