public void AddValidation_MinValue()
        {
            adapter.AddValidation(context);

            Assert.Equal(2, attributes.Count);
            Assert.Equal("128", attributes["data-val-range-min"]);
            Assert.Equal(Validation.For("MinValue", context.ModelMetadata.PropertyName, 128), attributes["data-val-range"]);
        }
        public void AddValidation_MinValue()
        {
            adapter.AddValidation(context);

            Assert.Equal(3, attributes.Count);
            Assert.Equal("true", attributes["data-val"]);
            Assert.Equal("128", attributes["data-val-range-min"]);
            Assert.Equal(String.Format(Validations.MinValue, "MinValue", 128), attributes["data-val-range"]);
        }