public void TestInit()
 {
     _dateProvider   = Mock.Create <IDateTimeProvider>();
     _scheduleHelper = new HabitScheduleHelper(_dateProvider);
     _habit          = Mock.Create <IHabitViewModel>();
 }
Esempio n. 2
0
 private HabitViewModel(IDateTimeProvider dateTimeProvider, IHabitService habitService)
 {
     _dateTimeProvider = dateTimeProvider;
     _habitService     = habitService;
     _scheduleHelper   = new HabitScheduleHelper(_habitService.DateTimeProvider);
 }