CDP4Common.Tests.Types.OrderedItemListTestFixture.VerifyThatCopyToWorks C# (CSharp) Метод

VerifyThatCopyToWorks() приватный Метод

private VerifyThatCopyToWorks ( ) : void
Результат void
        public void VerifyThatCopyToWorks()
        {
            this.testList = new OrderedItemList<Thing>(this.person, true);
            var inserted = new Person(Guid.NewGuid(), null, null);

            testList.Add(inserted);

            var array = new Thing[1];
            this.testList.CopyTo(array, 0);

            Assert.IsNotNull(array[0]);
        }