src/GenFx.Components.Tests/TreeNodeTest.cs
/// <summary>
/// Tests an exception is thrown when passing a null tree.
/// </summary>
Tests an exception is thrown when passing a null tree.
Tests an exception is thrown when passing a null tree .
[Fact]
        public void TreeNode_Clone_NullTree()
        {
            TreeNode node = new TreeNode();
            Assert.Throws<ArgumentNullException>(() => node.Clone(null, new TreeNode()));
        }
[ Fact ] public void TreeNode_Clone_NullTree ( ) { TreeNode node = new TreeNode ( ) ; Assert . Throws < ArgumentNullException > ( ( ) => node . Clone ( null , new TreeNode ( ) ) ) ; }
Tests an exception is thrown when passing a null tree.
Tests an exception is thrown when passing a null tree .