public void ShouldAcceptStartElementRootOnly()
        {
            XPathDocumentWriter writer = new XPathDocumentWriter();

            writer.WriteStartElement("Foo");
            XPathDocument doc = writer.Close();
        }
        public void ShouldUseBaseUriForDocument()
        {
            XPathDocumentWriter writer = new XPathDocumentWriter("kzu-uri");

            writer.WriteStartElement("Foo");
            XPathDocument doc = writer.Close();

            Assert.IsNotNull(doc);
            Assert.AreEqual("kzu-uri", doc.CreateNavigator().BaseURI);
        }