Exemple #1
0
        public void AddNodes()
        {
            var root    = Element.Create("div");
            var builder = new LaraBuilder(root);
            var list    = new List <Node>()
            {
                new HtmlButtonElement(),
                new HtmlOptionElement()
            };

            builder.AddNodes(list);
            Assert.Equal(2, root.ChildCount);
        }