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