public virtual void Classes_are_aggregated_by_AddCssClass() { var attributes = new HtmlAttributes(); attributes.AddCssClass("bar"); attributes.AddCssClass("foo"); attributes["class"].Should().Be("foo bar"); }