Esempio n. 1
0
        public void GetTimeZonesByCountryCode_ShouldReturnSingle(string countryCode)
        {
            var actual = TimeZoneInfoUtilities.GetTimeZonesByCountryCode(countryCode);

            Assert.Single(actual);
        }
Esempio n. 2
0
        public void GetTimeZonesByCountryCode_ShouldReturnMultiple(string countryCode, int expected)
        {
            var actual = TimeZoneInfoUtilities.GetTimeZonesByCountryCode(countryCode);

            Assert.Equal(expected, actual.Count);
        }
Esempio n. 3
0
        public void GetTimeZonesByCountryCode_Should_ReturnEmpty(string countryCode)
        {
            var actual = TimeZoneInfoUtilities.GetTimeZonesByCountryCode(countryCode);

            Assert.Empty(actual);
        }