ChangeTracking.Tests.IChangeTrackableCollectionTests.AsTrackable_On_ICollection_Should_Convert_ToIList_Internally C# (CSharp) Метод

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

private AsTrackable_On_ICollection_Should_Convert_ToIList_Internally ( ) : void
Результат void
        public void AsTrackable_On_ICollection_Should_Convert_ToIList_Internally()
        {
            IList<Order> orders = Helper.GetOrdersIList();
            ICollection<Order> ordersSet = new System.Collections.ObjectModel.Collection<Order>(orders);

            ICollection<Order> trackable = ordersSet.AsTrackable();

            trackable.Should().BeAssignableTo<IChangeTrackableCollection<Order>>();
        }
IChangeTrackableCollectionTests