public void ConvertiblePropertyTypeBelowMinimumWillFail()
        {
            var instance = new ConvertibleTest {
                Value = 1
            };
            var result = this.provider.Validate(instance);

            result.Should().NotBeNull("because we should always get a result");
            result.IsApplicable.Should().BeTrue("because an integer range attribute applies to an Int32 property");
            result.IsSuccess.Should().BeFalse("because the value is below the minimum value");
        }
        public void ConvertiblePropertyTypeWillSucceed()
        {
            var instance = new ConvertibleTest {
                Value = 3
            };
            var result = this.provider.Validate(instance);

            result.Should().NotBeNull("because we should always get a result");
            result.IsApplicable.Should().BeTrue("because an integer range attribute applies to an Int32 property");
            result.IsSuccess.Should().BeTrue("because the value is within the range");
        }
        public void ConvertiblePropertyTypeBelowMinimumWillFail()
        {
            var instance = new ConvertibleTest { Value = 1 };
            var result = this.provider.Validate(instance);

            result.Should().NotBeNull("because we should always get a result");
            result.IsApplicable.Should().BeTrue("because an integer range attribute applies to an Int32 property");
            result.IsSuccess.Should().BeFalse("because the value is below the minimum value");
        }
        public void ConvertiblePropertyTypeWillSucceed()
        {
            var instance = new ConvertibleTest { Value = 3 };
            var result = this.provider.Validate(instance);

            result.Should().NotBeNull("because we should always get a result");
            result.IsApplicable.Should().BeTrue("because an integer range attribute applies to an Int32 property");
            result.IsSuccess.Should().BeTrue("because the value is within the range");
        }