public void AddsAttributeCorrectly()
        {
            HtmlAttributeBuilder builder = new HtmlAttributeBuilder();
            var result = builder.SpellCheck();

            Assert.AreSame( builder, result );
            Assert.AreEqual( true.ToString().ToLower(), builder.Attributes[ HtmlAttributes.SpellCheck ] );
        }
        public void WithSpecifiedValueAddsAttributeCorrectly()
        {
            bool value = false;

            HtmlAttributeBuilder builder = new HtmlAttributeBuilder();
            var result = builder.SpellCheck( value );

            Assert.AreSame( builder, result );
            Assert.AreEqual( value.ToString().ToLower(), builder.Attributes[ HtmlAttributes.SpellCheck ] );
        }