src/GenFx.Components.Tests/ListEntityBaseTest.cs
/// <summary>
/// Tests that the <see cref="ListEntityBase.GetEnumerator"/> method works correctly.
/// </summary>
Tests that the  method works correctly.
Tests that the method works correctly .
[Fact]
        public void ListEntityBase_GetEnumerator()
        {
            TestEntity entity = new TestEntity();
            entity.InnerList.AddRange(Enumerable.Range(3, 3).Cast<object>());
            List<object> list = new List<object>(entity.Cast<object>());
            Assert.Equal(new object[] { 3, 4, 5 }, list);
        }
[ Fact ] public void ListEntityBase_GetEnumerator ( ) { TestEntity entity = new TestEntity ( ) ; entity . InnerList . AddRange ( Enumerable . Range ( 3 , 3 ) . Cast < object > ( ) ) ; List < object > list = new List < object > ( entity . Cast < object > ( ) ) ; Assert . Equal ( new object [ ] { 3 , 4 , 5 } , list ) ; }
Tests that the  method works correctly.
Tests that the method works correctly .