public void AnalysisStep_ExpandAll() { AnalysisStep tree = this.CreateAnalysisStep(); tree.ExpandAll(); tree.TopLevelNodes[0].IsExpanded.Should().BeTrue(); tree.TopLevelNodes[0].Children[0].IsExpanded.Should().BeTrue(); tree.TopLevelNodes[0].Children[1].IsExpanded.Should().BeTrue(); tree.TopLevelNodes[0].Children[2].IsExpanded.Should().BeTrue(); tree.TopLevelNodes[1].IsExpanded.Should().BeTrue(); tree.TopLevelNodes[2].IsExpanded.Should().BeTrue(); }
public void AnalysisStep_ExpandAll_NoNodes() { var tree = new AnalysisStep(new List <AnalysisStepNode>()); tree.ExpandAll(); }