public void should_correctly_calculate_this_day_end()
 {
     var tense = new This();
     var place = new End();
     var unit = new Day();
     var dt = unit.GetDateTime(tense, place);
     var dateTime = DateTime.UtcNow.Date.AddDays(1).AddMilliseconds(-1);
     Assert.That(dt, Is.EqualTo(dateTime));
 }
 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));
 }