public void InTzdbSystemDefaultZone() { var fakeGreenlandZone = TimeZoneInfo.CreateCustomTimeZone("Greenland Standard Time", TimeSpan.FromHours(-3), "Godthab", "Godthab"); using (TimeZoneInfoReplacer.Replace(fakeGreenlandZone, fakeGreenlandZone)) { var clock = new FakeClock(NodaConstants.UnixEpoch); var zonedClock = clock.InTzdbSystemDefaultZone(); var expected = NodaConstants.UnixEpoch.InZone(DateTimeZoneProviders.Tzdb["America/Godthab"]); Assert.AreEqual(expected, zonedClock.GetCurrentZonedDateTime()); } }