public void VerifyGetEffectiveLocaleNameWorksWithLcid127()
        {
            var unicodeIndex = new JET_UNICODEINDEX()
            {
                lcid       = 127,
                dwMapFlags = 0x400,
            };

            Assert.AreEqual(string.Empty, unicodeIndex.GetEffectiveLocaleName());
        }
        public void VerifyGetEffectiveLocaleNameWorksWithLcidNotInCache()
        {
            var unicodeIndex = new JET_UNICODEINDEX()
            {
                lcid       = 0x0477, // "la-Latn"
                dwMapFlags = 0x400,
            };

            Assert.AreEqual(null, unicodeIndex.GetEffectiveLocaleName());
        }
        public void VerifyGetEffectiveLocaleNameWorksWithNull()
        {
            var unicodeIndex = new JET_UNICODEINDEX()
            {
                szLocaleName = null,
                dwMapFlags   = 0x400,
            };

            Assert.AreEqual(null, unicodeIndex.GetEffectiveLocaleName());
        }
        public void VerifyGetEffectiveLocaleNameWorksWithLcid1033()
        {
            var unicodeIndex = new JET_UNICODEINDEX()
            {
                lcid       = 1033,
                dwMapFlags = 0x400,
            };

            Assert.AreEqual("en-us", unicodeIndex.GetEffectiveLocaleName());
        }