src/GenFx.Components.Tests/TreeNodeCollectionTest.cs
/// <summary>
/// Tests that the <see cref="TreeNodeCollection.Contains"/>. method works correctly.
/// </summary>
Tests that the . method works correctly.
Tests that the . method works correctly .
[Fact]
        public void TreeNodeCollection_Contains()
        {
            TreeNodeCollection collection = new TreeNodeCollection();
            TreeNode node1 = new TreeNode();
            collection.Add(node1);
            Assert.Contains(node1, collection);
            Assert.DoesNotContain(new TreeNode(), collection);
        }
[ Fact ] public void TreeNodeCollection_Contains ( ) { TreeNodeCollection collection = new TreeNodeCollection ( ) ; TreeNode node1 = new TreeNode ( ) ; collection . Add ( node1 ) ; Assert . Contains ( node1 , collection ) ; Assert . DoesNotContain ( new TreeNode ( ) , collection ) ; }
Tests that the .
Tests that the .