Inheritance: DisplayNameAttribute
        public void should_return_English_translation_when_set_US_cultureInfo()
        {
            var culture = new CultureInfo("en-US");

            Thread.CurrentThread.CurrentCulture = culture;
            Thread.CurrentThread.CurrentUICulture = culture;

            var attribute = new LocalizedDisplayNameAttribute("US_and_CN_and_Default")
            {
                NameResourceType = typeof(TempString)
            };

            Assert.Equal("US and CN and Default", attribute.DisplayName);
        }
        public void should_return_default_translation_when_no_matched_US_resource()
        {
            var culture = new CultureInfo("en-US");

            Thread.CurrentThread.CurrentCulture = culture;
            Thread.CurrentThread.CurrentUICulture = culture;

            var attribute = new LocalizedDisplayNameAttribute("CN_and_Default")
            {
                NameResourceType = typeof(TempString)
            };

            Assert.Equal("_CN_and_Default_", attribute.DisplayName);
        }