public void should_correctly_calculate_prev_year_start()
 {
     var tense = new Prev();
     var place = new Start();
     var unit = new Year(_dateTime);
     var dt = unit.GetDateTime(tense, place);
     Assert.That(dt, Is.EqualTo(_prevYearStart));
 }
 public void should_correctly_calculate_prev_hour_end()
 {
     var tense = new Prev();
     var place = new End();
     var unit = new Hour(_dateTime);
     var dt = unit.GetDateTime(tense, place);
     Assert.That(dt, Is.EqualTo(_prevHourEnd));
 }
 public void should_correctly_calculate_prev_day_start()
 {
     var tense = new Prev();
     var place = new Start();
     var unit = new Day();
     var dt = unit.GetDateTime(tense, place);
     var dateTime = DateTime.UtcNow.Date.AddDays(-1);
     Assert.That(dt, Is.EqualTo(dateTime));
 }