public void FirstLetterIsDigit()
        {
            GrandLetterFirstValidationRule rule =
                new GrandLetterFirstValidationRule("Imię");
            ValidationResult result = rule.Validate("1aleksander", null);

            Assert.AreEqual(new ValidationResult(false, rule.failure_message), result);
        }
        public void ValueIsNull()
        {
            GrandLetterFirstValidationRule rule =
                new GrandLetterFirstValidationRule("Imię");
            ValidationResult result = rule.Validate(null, null);

            Assert.AreEqual(new ValidationResult(false, rule.failure_message), result);
        }
        public void FirstLetterIsGrand()
        {
            // Arrange
            GrandLetterFirstValidationRule rule =
                new GrandLetterFirstValidationRule();

            // Act
            ValidationResult result = rule.Validate("Aleksander", null);

            // Assert
            Assert.AreEqual(new ValidationResult(true, null), result);
        }