public void WithIntValueAddsAttributeCorrectly()
        {
            int value = 1;

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

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

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

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