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);
        }
        public void AddClass_ToString_ReturnsTagWithClassAtribute()
        {
            Body b = new Body();
            b.AddClass("classname");

            string html = b.ToString();
            string expected = "<body class=\"classname\"></body>";

            Assert.AreEqual(expected, html);
        }
        public void AddTwoClasses_ToString_RetuwnsTagWithTwoClasses()
        {
            Body b = new Body();
            b.AddClass("one");
            b.AddClass("two");

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