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