src/GenFx.Tests/PropertyValidatorExtensionsTest.cs
/// <summary>
/// Tests that no exception is thrown when the property is valid.
/// </summary>
Tests that no exception is thrown when the property is valid.
Tests that no exception is thrown when the property is valid .
[Fact]
        public void PropertyValidatorExtensions_EnsureIsValid_DoNotThrowWhenValid()
        {
            CustomValidator validator = new CustomValidator { IsValidReturnValue = true };
            PropertyValidatorExtensions.EnsureIsValid(validator, "foo", 2, this);
        }
[ Fact ] public void PropertyValidatorExtensions_EnsureIsValid_DoNotThrowWhenValid ( ) { CustomValidator validator = new CustomValidator { IsValidReturnValue = true } ; PropertyValidatorExtensions . EnsureIsValid ( validator , " " , 2 , this ) ; }
Tests that no exception is thrown when the property is valid.
Tests that no exception is thrown when the property is valid .