Пример #1
0
 public void RootNodeIsCaseSensitive()
 {
     using (var temp = new TempDirectory())
     {
         var xoc = new FileXocument(temp.Value().FullName + "/TheXoc.xml");
         Assert.Equal(1, xoc.Nodes("/TheXoc").Count);
     }
 }
Пример #2
0
 public void HasRootNode()
 {
     using (var temp = new TempDirectory())
     {
         var xoc = new FileXocument(temp.Value().FullName + "/catalog.xml");
         Assert.Equal(1, xoc.Nodes("/catalog").Count);
     }
 }