コード例 #1
0
        public void Find_Existing()
        {
            Culture foundCulture = Culture.Find("de");

            Assert.That(foundCulture, Is.Not.Null);
            Assert.That(foundCulture.State, Is.Not.EqualTo(StateType.New));
            Assert.That(foundCulture.CultureName, Is.EqualTo("de"));
        }
コード例 #2
0
        public void Find_NotExisting()
        {
            Culture foundCulture = Culture.Find("hu");

            Assert.That(foundCulture, Is.Null);
        }