Esempio n. 1
0
        public void ItemIdCollectionGetEnumerator()
        {
            tlog.Debug(tag, $"ItemIdCollectionGetEnumerator START");

            uint[] itemId = new uint[] { 1, 2, 3, 4 };
            global::System.Collections.ICollection c = itemId;

            var testingTarget = new ItemIdCollection(c);

            Assert.IsNotNull(testingTarget, "Should be not null!");
            Assert.IsInstanceOf <ItemIdCollection>(testingTarget, "Should be an Instance of ItemIdCollection!");

            var result = testingTarget.GetEnumerator();

            Assert.IsNotNull(result, "Should be not null!");
            Assert.IsInstanceOf <ItemIdCollection.ItemIdCollectionEnumerator>(result, "Should be an Instance of ItemIdCollectionEnumerator!");

            tlog.Debug(tag, $"ItemIdCollectionGetEnumerator END (OK)");
        }