public void AppendNonExistantAttributesSetsWithoutLeadingSpace() { var attributes = new HtmlAttributes(new { }); attributes["text"] += "some words"; Assert.AreEqual("text=\"some words\"", attributes.ToString()); }