Example #1
0
 public override void SetUp()
 {
     base.SetUp();
     _scheduler = new TestScheduler();
     _view      = new ThrottledView <int>(_ints, TimeSpan.FromMilliseconds(10), _scheduler);
     _scheduler.Start();
     _actual = _view.SubscribeAll();
 }
Example #2
0
 public override void SetUp()
 {
     base.SetUp();
     _view   = new ThrottledView <int>(_ints, TimeSpan.Zero, null);
     _actual = _view.SubscribeAll();
 }