src/GenFx.Tests/GeneticComponentTest.cs
/// <summary>
/// Tests that an exception is thrown when a null or emtpty property name is passed to <see cref="GeneticComponent.OnPropertyChanged"/>.
/// </summary>
Tests that an exception is thrown when a null or emtpty property name is passed to .
Tests that an exception is thrown when a null or emtpty property name is passed to .
[Fact]
        public void GeneticComponent_OnPropertyChanged_NullOrEmptyPropertyName()
        {
            TestComponent component = new TestComponent();
            Assert.Throws<ArgumentException>(() => component.TestOnPropertyChanged(null));
            Assert.Throws<ArgumentException>(() => component.TestOnPropertyChanged(String.Empty));
        }
[ Fact ] public void GeneticComponent_OnPropertyChanged_NullOrEmptyPropertyName ( ) { TestComponent component = new TestComponent ( ) ; Assert . Throws < ArgumentException > ( ( ) => component . TestOnPropertyChanged ( null ) ) ; Assert . Throws < ArgumentException > ( ( ) => component . TestOnPropertyChanged ( String . Empty ) ) ; }
Tests that an exception is thrown when a null or emtpty property name is passed to .
Tests that an exception is thrown when a null or emtpty property name is passed to .