src/GenFx.Components.Tests/ListEntityBaseTest.cs
/// <summary>
/// Tests that the <see cref="ListEntityBase.Clear"/> method works correctly.
/// </summary>
Tests that the  method works correctly.
Tests that the method works correctly .
[Fact]
        public void ListEntityBase_Clear()
        {
            TestEntity entity = new TestEntity();
            entity.InnerList.AddRange(Enumerable.Range(1, 5).Cast<object>());
            entity.Clear();
            Assert.Empty(entity.InnerList);
        }
[ Fact ] public void ListEntityBase_Clear ( ) { TestEntity entity = new TestEntity ( ) ; entity . InnerList . AddRange ( Enumerable . Range ( 1 , 5 ) . Cast < object > ( ) ) ; entity . Clear ( ) ; Assert . Empty ( entity . InnerList ) ; }
Tests that the  method works correctly.
Tests that the method works correctly .