public void SetUp()
 {
     _collector  = Substitute.For <IItemCollector>();
     _scheduler  = new TimerScheduler(200);
     _loginModel = new LoginModel(new UserHttpCollector());
     _uut        = new ScheduledShoppingListModel(_collector, _scheduler, _loginModel);
 }
 public void SetUp()
 {
     _collector  = Substitute.For <IItemCollector>();
     _scheduler  = Substitute.For <IScheduler>();
     _loginModel = Substitute.For <ILoginModel>();
     _uut        = new ScheduledShoppingListModel(_collector, _scheduler, _loginModel);
 }
 public void Constructor_SchedulerNull_ArgumentNullException()
 {
     Assert.Throws <ArgumentNullException>(() => _uut = new ScheduledShoppingListModel(_collector, null, _loginModel));
 }