src/GenFx.Tests/PropertyValidatorExtensionsTest.cs
/// <summary>
/// Tests that an exception is thrown when a null validator is passed to <see cref="PropertyValidatorExtensions.EnsureIsValid"/>.
/// </summary>
Tests that an exception is thrown when a null validator is passed to .
Tests that an exception is thrown when a null validator is passed to .
[Fact]
        public void PropertyValidatorExtensions_EnsureIsValid_NullValidator()
        {
            Assert.Throws<ArgumentNullException>(() => PropertyValidatorExtensions.EnsureIsValid(null, "foo", 2, this));
        }
[ Fact ] public void PropertyValidatorExtensions_EnsureIsValid_NullValidator ( ) { Assert . Throws < ArgumentNullException > ( ( ) => PropertyValidatorExtensions . EnsureIsValid ( null , " " , 2 , this ) ) ; }
Tests that an exception is thrown when a null validator is passed to .
Tests that an exception is thrown when a null validator is passed to .