src/GenFx.Wpf.Tests/PopulationSelectorTest.cs
/// <summary>
/// Tests that the selected population set to null when index is changed but no environment is set.
/// </summary>
Tests that the selected population set to null when index is changed but no environment is set.
Tests that the selected population set to null when index is changed but no environment is set .
[StaFact]
        public void PopulationSelector_SelectedPopulationIndexChanged_NoEnvironment()
        {
            PopulationSelector selector = new PopulationSelector
            {
                SelectedPopulationIndex = 1
            };
            Assert.Null(selector.SelectedPopulation);
        }
[ StaFact ] public void PopulationSelector_SelectedPopulationIndexChanged_NoEnvironment ( ) { PopulationSelector selector = new PopulationSelector { SelectedPopulationIndex = 1 } ; Assert . Null ( selector . SelectedPopulation ) ; }
Tests that the selected population set to null when index is changed but no environment is set.
Tests that the selected population set to null when index is changed but no environment is set .