public void Can_Match_Absent()
        {
            var values = new string[] { "NOTAVAIL", "VAL1" };
            var attr = new FormValueAbsentAttribute(FormValueRequirement.Equal, FormValueRequirementRule.MatchAny, values);
            Assert.IsTrue(attr.IsValidForRequest(_form));

            attr = new FormValueAbsentAttribute(FormValueRequirement.Equal, FormValueRequirementRule.MatchAll, values);
            Assert.IsFalse(attr.IsValidForRequest(_form));
        }
        public void Can_Match_Absent()
        {
            var values = new string[] { "NOTAVAIL", "VAL1" };
            var attr   = new FormValueAbsentAttribute(FormValueRequirement.Equal, FormValueRequirementRule.MatchAny, values);

            Assert.IsTrue(attr.IsValidForRequest(_form));

            attr = new FormValueAbsentAttribute(FormValueRequirement.Equal, FormValueRequirementRule.MatchAll, values);
            Assert.IsFalse(attr.IsValidForRequest(_form));
        }