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