Ejemplo n.º 1
0
 public void CanReset_CalculateNextRefresh()
 {
     _date.Now = new DateTime(2009, 2, 21, 1, 0, 0);
     Assert.That(_timer.CalculateNext(), Is.EqualTo(_date.Now + _pollFrequency));
 }