Binboo.Core.Tests.Tests.UserTestCase.CountryCode_NotInitialized_CurrentThreadCountryCodeIsUsed C# (CSharp) Method

CountryCode_NotInitialized_CurrentThreadCountryCodeIsUsed() private method

        public void CountryCode_NotInitialized_CurrentThreadCountryCodeIsUsed()
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.GetCultureInfoByIetfLanguageTag("de");
            var user = new User("John", "Doe");
            Assert.That(user.CountryCode, Is.EqualTo("de"));
        }