public void AddsAttributeCorrectly() { int value = 20; HtmlAttributeBuilder builder = new HtmlAttributeBuilder(); var result = builder.Width( value ); Assert.AreSame( builder, result ); Assert.AreEqual( value, builder.Attributes[ HtmlAttributes.Width ] ); }