src/GenFx.Components.Tests/TreeNodeCollectionTest.cs
/// <summary>
/// Tests that an exception is thrown when removing a node in a fixed size collection.
/// </summary>
Tests that an exception is thrown when removing a node in a fixed size collection.
Tests that an exception is thrown when removing a node in a fixed size collection .
[Fact]
        public void TreeNodeCollection_RemoveAt_FixedSize()
        {
            TreeNodeCollection collection = new TreeNodeCollection(2);
            Assert.Throws<InvalidOperationException>(() => collection.RemoveAt(0));
        }
[ Fact ] public void TreeNodeCollection_RemoveAt_FixedSize ( ) { TreeNodeCollection collection = new TreeNodeCollection ( 2 ) ; Assert . Throws < InvalidOperationException > ( ( ) => collection . RemoveAt ( 0 ) ) ; }
Tests that an exception is thrown when removing a node in a fixed size collection.
Tests that an exception is thrown when removing a node in a fixed size collection .