src/GenFx.Tests/GeneticComponentTest.cs
/// <summary>
/// Verifies that an exception is thrown when passing property name of a property that doesn't
/// exist to <see cref="GeneticComponent.ValidateProperty(object, string)"/>.
/// </summary>
Verifies that an exception is thrown when passing property name of a property that doesn't
exist to .
Verifies that an exception is thrown when passing property name of a property that doesn ' t exist to .
[Fact]
        public void GeneticComponent_ValidateProperty_Name_NonExistentProperty()
        {
            TestComponent component = new TestComponent();
            Assert.Throws<ArgumentException>(() => component.TestValidateProperty(1, "Nothing"));
        }
[ Fact ] public void GeneticComponent_ValidateProperty_Name_NonExistentProperty ( ) { TestComponent component = new TestComponent ( ) ; Assert . Throws < ArgumentException > ( ( ) => component . TestValidateProperty ( 1 , " " ) ) ; }
Verifies that an exception is thrown when passing property name of a property that doesn't
exist to .
Verifies that an exception is thrown when passing property name of a property that doesn ' t exist to .