src/GenFx.Tests/GeneticComponentTest.cs
/// <summary>
/// Verifies that an exception is thrown when passing a null or empty property name to
/// <see cref="GeneticComponent.ValidateProperty(object, PropertyInfo)"/>.
/// </summary>
Verifies that an exception is thrown when passing a null or empty property name to
.
Verifies that an exception is thrown when passing a null or empty property name to .
[Fact]
        public void GeneticComponent_ValidateProperty_PropertyInfo_NullOrEmptyPropertyName()
        {
            TestComponent component = new TestComponent();
            Assert.Throws<ArgumentNullException>(() => component.TestValidateProperty(1, (PropertyInfo)null));
        }
[ Fact ] public void GeneticComponent_ValidateProperty_PropertyInfo_NullOrEmptyPropertyName ( ) { TestComponent component = new TestComponent ( ) ; Assert . Throws < ArgumentNullException > ( ( ) => component . TestValidateProperty ( 1 , ( PropertyInfo ) null ) ) ; }
Verifies that an exception is thrown when passing a null or empty property name to
.
Verifies that an exception is thrown when passing a null or empty property name to .