예제 #1
0
        public void ChangeWritingSystemId()
        {
            ViewTemplate viewTemplate = PopulateViewTemplate();

            viewTemplate.Fields[0].WritingSystemIds.Contains("en");
            viewTemplate.OnWritingSystemIDChange("en", "x");
            Assert.IsFalse(viewTemplate.Fields[0].WritingSystemIds.Contains("en"));
            Assert.IsTrue(viewTemplate.Fields[0].WritingSystemIds.Contains("x"));
        }