示例#1
0
        public void FineElementByPath_NotExists()
        {
            Element element = ConfigurationFile.FindElementByPath("step0.step1", TestElement);

            Assert.IsNull(element, element.Name);
        }
示例#2
0
        public void FineElementByPath_Exists()
        {
            Element element = ConfigurationFile.FindElementByPath("step2.step1", TestElement);

            Assert.AreEqual(element.Name, "step2");
        }