public void WithIntValueAddsAttributeCorrectly()
        {
            int value = 1;

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

            Assert.AreSame( builder, result );
            Assert.AreEqual( value, builder.Attributes[ HtmlAttributes.Max ] );
        }
        public void WithDateTimeValueAddsAttributeCorrectly()
        {
            DateTime value = new DateTime( 1 );

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

            Assert.AreSame( builder, result );
            Assert.AreEqual( value.ToString( "yyyy-MM-dd" ), builder.Attributes[ HtmlAttributes.Max ] );
        }