public void WithCrossOriginTypeValueAddsAttributeCorrectly()
        {
            CrossOriginType value = CrossOriginType.Use_Credentials;

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

            Assert.AreSame( builder, result );
            Assert.AreEqual( "use-credentials", builder.Attributes[ HtmlAttributes.CrossOrigin ] );
        }
        public void AddsAttributeCorrectly()
        {
            string value = "Value";

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

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