public override void SetUp() { base.SetUp(); _scheduler = new TestScheduler(); _view = new FilteredView <int>(_ints, x => true, TimeSpan.FromMilliseconds(10), _scheduler); _scheduler.Start(); _actual = _view.SubscribeAll(); }
public void SetUp() { _actualChanges = new List <EventArgs>(); _ints = new List <int>(new[] { 1, 2, 3 }); _scheduler = new TestScheduler(); _view = _ints.AsFilteredView(x => true, TimeSpan.FromMilliseconds(10), _scheduler, new Subject <object>()); _actualChanges = _view.SubscribeAll(); }
public override void SetUp() { base.SetUp(); _view = new FilteredView <int>(_ints, x => true, TimeSpan.Zero, null); _actual = _view.SubscribeAll(); }