Exemple #1
0
        public void Should_get_document_namespaces()
        {
            var proc = new XamlPostProcessor();

            proc.LoadDocument($"<root xmlns:a='{Uri}'></root>");
            var nss = proc.GetDocumentNamespaces();

            Assert.AreEqual(2, nss.Count);
            Assert.AreEqual(Uri, nss["a"]);
        }