src/GenFx.Components.Tests/ListEntityBaseTest.cs
/// <summary>
/// Tests that an exception is thrown when the <see cref="ListEntityBase.Add"/> method is called for a fixed size list.
/// </summary>
Tests that an exception is thrown when the  method is called for a fixed size list.
Tests that an exception is thrown when the method is called for a fixed size list .
[Fact]
        public void ListEntityBase_Add_FixedSize()
        {
            TestEntity entity = new TestEntity { IsFixedSize = true };
            Assert.Throws<NotSupportedException>(() => entity.Add(2));
        }
[ Fact ] public void ListEntityBase_Add_FixedSize ( ) { TestEntity entity = new TestEntity { IsFixedSize = true } ; Assert . Throws < NotSupportedException > ( ( ) => entity . Add ( 2 ) ) ; }
Tests that an exception is thrown when the  method is called for a fixed size list.
Tests that an exception is thrown when the method is called for a fixed size list .