public EventSink(StubSpin spin) { Assert.IsNotNull(spin); spin.ValueChanged += delegate { _valueChangedCount.Inc(); }; }
public void SetUp() { _spin = new StubSpin(); _eventSink = new EventSink(_spin); _item = "item"; _item2 = "item2"; _item3 = "item3"; _item4 = "item4"; _item5 = "item5"; _spin.Items.AddRange(new string[] { _item, _item2, _item3, _item4, _item5 }); }
public void SetUp() { _spin = new StubSpin(); _eventSink = new EventSink(_spin); }
public void SetUp() { _spin = new StubSpin(); }