public void happened_before() { var time = DateTime.Today.AddHours(8).ToUniversalTime(); var milestone = new Milestone(time); milestone.HappenedBefore(time.AddMinutes(-1)).ShouldBeFalse(); milestone.HappenedBefore(time.AddDays(-1)).ShouldBeFalse(); milestone.HappenedBefore(time.AddDays(1)).ShouldBeTrue(); }