public void Can_Convert_Rails_Zones_To_Iana_Zones() { var errors = 0; var railsZones = TZConvert.KnownRailsTimeZoneNames; foreach (var railsZone in railsZones) { try { var ianaZone = TZConvert.RailsToIana(railsZone); Assert.NotNull(railsZone); Assert.NotEqual(string.Empty, ianaZone); } catch (InvalidTimeZoneException e) { errors++; _output.WriteLine(e.Message); } } Assert.Equal(0, errors); }