src/GenFx.Components.Tests/TreeEntityBaseTest.cs
/// <summary>
/// Tests that an exception is thrown when passing a null node.
/// </summary>
Tests that an exception is thrown when passing a null node.
Tests that an exception is thrown when passing a null node .
[Fact]
        public void TreeEntityBase_SetRootNode_NullNode()
        {
            TestTreeEntity tree = new TestTreeEntity();
            Assert.Throws<ArgumentNullException>(() => tree.SetRootNode(null));
        }
[ Fact ] public void TreeEntityBase_SetRootNode_NullNode ( ) { TestTreeEntity tree = new TestTreeEntity ( ) ; Assert . Throws < ArgumentNullException > ( ( ) => tree . SetRootNode ( null ) ) ; }
Tests that an exception is thrown when passing a null node.
Tests that an exception is thrown when passing a null node .