public void AddSafeClassName_should_sanitize_bad_class_names()
        {
            var tag = new HtmlTag("span");

            tag.AddSafeClassName("Bad/Class=Name`With'Invalid Chars");

            tag.GetClasses().Single().ShouldEqual("BadClassNameWithInvalidChars");
        }
 public void AddSafeClassName_should_not_tamper_with_valid_class_names()
 {
     var tag = new HtmlTag("span");
     tag.AddSafeClassName("-valid_class-name99");
     tag.GetClasses().Single().ShouldEqual("-valid_class-name99");
 }