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