public void Can_Match_Required_StartsWith_Any()
		{
			var values = new string[] { "NOTAVAIL", "VAL1", "SuBmit." };
			var attr = new FormValueRequiredAttribute(FormValueRequirement.StartsWith, FormValueRequirementRule.MatchAny, values);
			Assert.IsTrue(attr.IsValidForRequest(_form));

			values = new string[] { "NOTAVAIL", "NOTAVAIL2" };
			attr = new FormValueRequiredAttribute(FormValueRequirement.StartsWith, FormValueRequirementRule.MatchAny, values);
			Assert.IsFalse(attr.IsValidForRequest(_form));
		}
		public void Can_Match_Required_StartsWith_All()
		{
			var values = new string[] { "SUBMIT", "Cancel.", "VAL" };
			var attr = new FormValueRequiredAttribute(FormValueRequirement.StartsWith, FormValueRequirementRule.MatchAll, values);
			Assert.IsTrue(attr.IsValidForRequest(_form));

			values = new string[] { "SUBMIT", "Cancel.", "VAL", "notavail" };
			attr = new FormValueRequiredAttribute(FormValueRequirement.StartsWith, FormValueRequirementRule.MatchAll, values);
			Assert.IsFalse(attr.IsValidForRequest(_form));
		}
		public void Can_Match_Required_Equals_All()
		{
			var values = new string[] { "val2", "VAL1", "Cancel.First" };
			var attr = new FormValueRequiredAttribute(FormValueRequirement.Equal, FormValueRequirementRule.MatchAll, values);
			Assert.IsTrue(attr.IsValidForRequest(_form));

			values = new string[] { "val2", "VAL1", "NOTAVAIL", "Cancel.First" };
			attr = new FormValueRequiredAttribute(FormValueRequirement.Equal, FormValueRequirementRule.MatchAll, values);
			Assert.IsFalse(attr.IsValidForRequest(_form));
		}