public static void RemoveAtTest() { string[] anArrayString = { "one", "two", "three", "four" }; ObservableCollection <string> col = new ObservableCollection <string>(anArrayString); ReadOnlyObservableCollection <string> readonlyCol = new ReadOnlyObservableCollection <string>(col); ReadOnlyCollectionAndPropertyChangedTester helper = new ReadOnlyCollectionAndPropertyChangedTester(); helper.RemoveItemAtTest(readonlyCol, col, 1); }
public static void RemoveAtTest() { string[] anArrayString = { "one", "two", "three", "four" }; ObservableCollection<string> col = new ObservableCollection<string>(anArrayString); ReadOnlyObservableCollection<string> readonlyCol = new ReadOnlyObservableCollection<string>(col); ReadOnlyCollectionAndPropertyChangedTester helper = new ReadOnlyCollectionAndPropertyChangedTester(); helper.RemoveItemAtTest(readonlyCol, col, 1); }