public static void InsertTest()
        {
            Guid[] anArray             = { Guid.NewGuid(), Guid.NewGuid(), Guid.NewGuid() };
            ObservableList <Guid> col0 = new ObservableList <Guid>((IEnumerable <Guid>)anArray);
            ObservableList <Guid> col1 = new ObservableList <Guid>((IEnumerable <Guid>)anArray);
            ObservableList <Guid> col3 = new ObservableList <Guid>((IEnumerable <Guid>)anArray);

            //inserting item at the beginning.
            Guid g0 = Guid.NewGuid();

            col0.Insert(0, g0);
            Assert.Equal(g0, col0[0]);

            // inserting item in the middle
            Guid g1 = Guid.NewGuid();

            col1.Insert(1, g1);
            Assert.Equal(g1, col1[1]);

            // inserting item at the end.
            Guid g3 = Guid.NewGuid();

            col3.Insert(col3.Count, g3);
            Assert.Equal(g3, col3[col3.Count - 1]);

            string[] anArrayString = new string[] { "one", "two", "three", "four" };
            ObservableList <string>            collection = new ObservableList <string>((IEnumerable <string>)anArrayString);
            CollectionAndPropertyChangedTester helper     = new CollectionAndPropertyChangedTester();

            helper.AddOrInsertItemTest(collection, "seven", 2);
            helper.AddOrInsertItemTest(collection, "zero", 0);
            helper.AddOrInsertItemTest(collection, "eight", collection.Count);
        }
        public static void AddTest()
        {
            string[] anArray = { "one", "two", "three" };
            ObservableList <string>            col    = new ObservableList <string>(anArray);
            CollectionAndPropertyChangedTester helper = new CollectionAndPropertyChangedTester();

            helper.AddOrInsertItemTest(col, "four");
        }