Esempio n. 1
0
        public void TooManyPops()
        {
            var root    = Element.Create("div");
            var builder = new LaraBuilder(root);

            builder.Push("button", "red").Pop();
            DomOperationsTesting.Throws <InvalidOperationException>(() => builder.Pop());
        }