src/GenFx.Components.Tests/InversionOperatorTest.cs
/// <summary>
/// Tests that an exception is thrown when a null entity is passed to <see cref="InversionOperator.GenerateMutation"/>.
/// </summary>
Tests that an exception is thrown when a null entity is passed to .
Tests that an exception is thrown when a null entity is passed to .
[Fact]
        public void InversionOperator_GenerateMutation_NullEntity()
        {
            InversionOperator op = new InversionOperator();
            PrivateObject accessor = new PrivateObject(op);
            Assert.Throws<ArgumentNullException>(() => accessor.Invoke("GenerateMutation", (GeneticEntity)null));
        }
[ Fact ] public void InversionOperator_GenerateMutation_NullEntity ( ) { InversionOperator op = new InversionOperator ( ) ; PrivateObject accessor = new PrivateObject ( op ) ; Assert . Throws < ArgumentNullException > ( ( ) => accessor . Invoke ( " " , ( GeneticEntity ) null ) ) ; }
Tests that an exception is thrown when a null entity is passed to .
Tests that an exception is thrown when a null entity is passed to .