src/GenFx.Components.Tests/TreeNodeTest.cs
/// <summary>
/// Tests that an exception is thrown when trying to set <see cref="TreeNode.Value"/> to an invalid value.
/// </summary>
Tests that an exception is thrown when trying to set  to an invalid value.
Tests that an exception is thrown when trying to set to an invalid value .
[Fact]
        public void TreeNode_InvalidValue()
        {
            TreeNode node = new TreeNode();
            Assert.Throws<ArgumentException>(() => node.Value = new TreeNodeTest());
        }
[ Fact ] public void TreeNode_InvalidValue ( ) { TreeNode node = new TreeNode ( ) ; Assert . Throws < ArgumentException > ( ( ) => node . Value = new TreeNodeTest ( ) ) ; }
Tests that an exception is thrown when trying to set  to an invalid value.
Tests that an exception is thrown when trying to set to an invalid value .