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