src/GenFx.Wpf.Tests/ExecutionContextTest.cs
/// <summary>
/// Tests that the <see cref="ExecutionContext.AlgorithmException"/> property works correctly.
/// </summary>
Tests that the  property works correctly.
Tests that the property works correctly .
[Fact]
        public void ExecutionContext_AlgorithmException()
        {
            GeneticAlgorithm algorithm = Mock.Of<GeneticAlgorithm>();
            ExecutionContext context = new ExecutionContext(algorithm);
            PropertyChangedHelper.VerifyPropertyChangedEvent(
                context, nameof(ExecutionContext.AlgorithmException), new ArgumentException(),
                v => context.AlgorithmException = v, () => context.AlgorithmException);
        }
[ Fact ] public void ExecutionContext_AlgorithmException ( ) { GeneticAlgorithm algorithm = Mock . Of < GeneticAlgorithm > ( ) ; ExecutionContext context = new ExecutionContext ( algorithm ) ; PropertyChangedHelper . VerifyPropertyChangedEvent ( context , nameof ( ExecutionContext . AlgorithmException ) , new ArgumentException ( ) , v => context . AlgorithmException = v , ( ) => context . AlgorithmException ) ; }
Tests that the  property works correctly.
Tests that the property works correctly .