public void At_1700_ItIsEvening() { var actual = PartsOfDay.Run(this.httpRequest, NullLogger.Instance, new FixDateTimeResolver(new DateTime(2000, 1, 1, 17, 0, 0, DateTimeKind.Utc))); Assert.Equal("evening", actual); }
public void At_2100_ItIsNight() { var actual = PartsOfDay.Run(this.httpRequest, NullLogger.Instance, new FixDateTimeResolver(new DateTime(2000, 1, 1, 21, 0, 0, DateTimeKind.Utc))); Assert.Equal("night", actual); }
public void At_1200_ItIsAfternoon() { var actual = PartsOfDay.Run(this.httpRequest, NullLogger.Instance, new FixDateTimeResolver(new DateTime(2000, 1, 1, 12, 0, 0, DateTimeKind.Utc))); Assert.Equal("afternoon", actual); }