src/GenFx.Components.Tests/ListEntityBase.OfT.Test.cs
/// <summary>
/// Tests that the <see cref="ListEntityBase{TItem}.IndexOf"/> method works correctly.
/// </summary>
Tests that the  method works correctly.
Tests that the method works correctly .
[Fact]
        public void ListEntityBaseOfT_IndexOf()
        {
            TestEntity<int> entity = new TestEntity<int>();
            entity.InnerList.AddRange(Enumerable.Range(2, 3));
            Assert.Equal(-1, entity.IndexOf(1));
            Assert.Equal(0, entity.IndexOf(2));
            Assert.Equal(2, entity.IndexOf(4));
        }
[ Fact ] public void ListEntityBaseOfT_IndexOf ( ) { TestEntity < int > entity = new TestEntity < int > ( ) ; entity . InnerList . AddRange ( Enumerable . Range ( 2 , 3 ) ) ; Assert . Equal ( - 1 , entity . IndexOf ( 1 ) ) ; Assert . Equal ( 0 , entity . IndexOf ( 2 ) ) ; Assert . Equal ( 2 , entity . IndexOf ( 4 ) ) ; }
Tests that the  method works correctly.
Tests that the method works correctly .