public void AddTWoAttributes_ToString_TagWithAttributes()
        {
            Body b = new Body();
            b.AddAttribute("first", "val1");
            b.AddAttribute("second", "val2");
            string html = b.ToString();

            string expected = "<body first=\"val1\" second=\"val2\"></body>";
            Assert.AreEqual(expected, html);
        }
        public void AddAttribute_ToString_TagWithAttribute()
        {
            Body b = new Body();
            b.AddAttribute("attname", "val");
            string html = b.ToString();

            string expected = "<body attname=\"val\"></body>";
            Assert.AreEqual(expected, html);
        }
        public void AddClassAddAttribute_ToString_TagWithClassesAndAttributes()
        {
            Body b = new Body();
            b.AddClass("one");
            b.AddAttribute("first", "val1");
            string html = b.ToString();

            string expected = "<body class=\"one\" first=\"val1\"></body>";
            Assert.AreEqual(expected, html);
        }