public void Validate_EmptyValue_ValidationError(string value)
        {
            // Arrange
            var rule = new IsRequiredRule();

            // Act
            var result = rule.Validate(value);

            // Assert
            using (new AssertionScope())
            {
                result.IsValid.Should().BeFalse();
                result.Error.Should().Be(Strings.ValueIsMandatory);
            }
        }
        public void Validate_NotEmptyValue_ValidationSuccess()
        {
            // Arrange
            var rule = new IsRequiredRule();;

            // Act
            var result = rule.Validate("qwerty");

            // Assert
            using (new AssertionScope())
            {
                result.IsValid.Should().BeTrue();
                result.Error.Should().BeEmpty();
            }
        }