public void Init() { _caller = Substitute.For <IMockCaller <int, int> >(); _mockDictionary = Substitute.For <IDictionary <int, int> >(); _observableDictionary = new ObservableDictionary <int, int>(_mockDictionary); _observableResolverDictionary = new ObservableResolverDictionary <int, int>(() => _mockDictionary); }
public void Init() { _caller = Substitute.For <IMockCaller <int> >(); _mockList = Substitute.For <IList <int> >(); _observableList = new ObservableList <int>(_mockList); _observableResolverList = new ObservableResolverList <int>(() => _mockList); }
public void Init() { _caller = Substitute.For <IMockCaller <int> >(); _observableField = new ObservableField <int>(_mockInt); _observableResolverField = new ObservableResolverField <int>(() => _mockInt, i => _mockInt = i); }