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