public void AddsAttributeCorrectly() { string mapName = "MapName"; HtmlAttributeBuilder builder = new HtmlAttributeBuilder(); var result = builder.UseMap( mapName ); Assert.AreSame( builder, result ); Assert.AreEqual( mapName, builder.Attributes[ HtmlAttributes.UseMap ] ); }