public void InBclSystemDefaultZone() { // We can't replace DateTimeZoneProviders.Bcl with TimeZoneInfoReplacer, so we have to // just trust that there's a suitable system default zone. var zone = DateTimeZoneProviders.Bcl.GetSystemDefault(); var clock = new FakeClock(NodaConstants.UnixEpoch); var zonedClock = clock.InBclSystemDefaultZone(); var expected = NodaConstants.UnixEpoch.InZone(zone); Assert.AreEqual(expected, zonedClock.GetCurrentZonedDateTime()); }