public void test_required_factory_implementations_directives()
        {
            var fac = new HxlCompilerNodeFactory();

            foreach (var kvp in DIRECTIVES)
            {
                string name    = kvp.Key;
                var    element = fac.CreateProcessingInstruction(name);
                Assert.IsInstanceOf(kvp.Value, element);
            }
        }
        public void test_required_factory_implementations_attributes()
        {
            var fac = new HxlCompilerNodeFactory();

            foreach (var kvp in ATTRIBUTES)
            {
                HxlQualifiedName name = new HxlQualifiedName("c", new[] {
                    kvp.Key
                }, null, Xmlns.HxlLangUri);
                var element = fac.CreateAttribute(name);
                Assert.IsInstanceOf(kvp.Value, element);
            }
        }