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