public static IHtmlNode ShouldHaveClasses(this IHtmlNode node, params string[] classes)
        {
            foreach (var @class in classes)
            {
                node.ShouldHaveClass(@class);
            }

            return(node);
        }
        public void IconTag_should_render_span_wrapper()
        {
            const string iconPath = "/Content/Icon.png";

            window.IconUrl = iconPath;

            IHtmlNode tag = renderer.IconTag();

            tag.TagName.ShouldEqual("img");
            tag.Attribute("src").ShouldEqual(iconPath);
            tag.ShouldHaveClass(UIPrimitives.Image);
        }