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