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