public static void InsertTest()
        {
            string[] anArrayString = new string[] { "one", "two", "three", "four" };
            ObservableCollection <string>              collection  = new ObservableCollection <string>(anArrayString);
            ReadOnlyObservableCollection <string>      readonlyCol = new ReadOnlyObservableCollection <string>(collection);
            ReadOnlyCollectionAndPropertyChangedTester helper      = new ReadOnlyCollectionAndPropertyChangedTester();

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

            helper.AddOrInsertItemTest(readonlyCol, col, "four");
        }
 public static void InsertTest()
 {
     string[] anArrayString = new string[] { "one", "two", "three", "four" };
     ObservableCollection<string> collection = new ObservableCollection<string>(anArrayString);
     ReadOnlyObservableCollection<string> readonlyCol = new ReadOnlyObservableCollection<string>(collection);
     ReadOnlyCollectionAndPropertyChangedTester helper = new ReadOnlyCollectionAndPropertyChangedTester();
     helper.AddOrInsertItemTest(readonlyCol, collection, "seven", 2);
     helper.AddOrInsertItemTest(readonlyCol, collection, "zero", 0);
     helper.AddOrInsertItemTest(readonlyCol, collection, "eight", collection.Count);
 }