public void Should_Init_TimeZones() { var sweden = TimeZoneKeeper.GetTimeZone(TimeZones.Sweden); var utc = TimeZoneKeeper.GetTimeZone(TimeZones.Utc); Assert.NotNull(sweden); Assert.NotNull(utc); }
public void Should_Throw_On_Invalid_TimeZone() { Assert.Throws <ArgumentException>(() => TimeZoneKeeper.GetTimeZone("Åmål")); }