src/GenFx.Components.Tests/TreeEntityBaseTest.cs
/// <summary>
/// Tests that an exception is thrown when passing an invalid entity to <see cref="TreeEntityBase.CompareTo"/>.
/// </summary>
Tests that an exception is thrown when passing an invalid entity to .
Tests that an exception is thrown when passing an invalid entity to .
[Fact]
        public void TreeEntityBase_CompareTo_InvalidEntity()
        {
            TestTreeEntity entity1 = CreateTestTree();
            Assert.Throws<ArgumentException>(() => entity1.CompareTo(new MockEntity()));
        }
[ Fact ] public void TreeEntityBase_CompareTo_InvalidEntity ( ) { TestTreeEntity entity1 = CreateTestTree ( ) ; Assert . Throws < ArgumentException > ( ( ) => entity1 . CompareTo ( new MockEntity ( ) ) ) ; }
Tests that an exception is thrown when passing an invalid entity to .
Tests that an exception is thrown when passing an invalid entity to .