public void When_AdjustTimeByMinus30Minutes_Expect_TimeAdjustedbyMinus30Minutes() { TFSysTimeFake.Instance.ReturnTimeOf(_startTime1, _startTime1.AddMinutes(45.5)); _timer.Start(); _timer.Stop(); _timer.AdjustTime(TimeSpan.FromMinutes(-30)); VerifyTotalTime(TimeSpan.FromMinutes(15.5), _timer.TotalTime); }
private void Add30Execute() { _frankenTimer.AdjustTime(TimeSpan.FromMinutes(30)); RaisePropertyChanged("TimeGathered"); }