public void SetParameters_InvRegex_Error()
		{
			CustomAssert.ThrowsException<ConstraintConfigurationException>(() =>
			{
				RegexConstraint c = new RegexConstraint();
				c.SetParametersInternal(new string[] { "[", "IgnoreCase" }, ParameterDataType.String);
			});
		}
		public void SetParameters_InvOptions_Error()
		{
			CustomAssert.ThrowsException<ConstraintConfigurationException>(() =>
			{
				RegexConstraint c = new RegexConstraint();
				c.SetParametersInternal(new string[] { Constants.RegexString, "ECMAScript", "Singleline" }, ParameterDataType.String);
			});
		}
		public void SetParameters_Success()
		{
			RegexConstraint c = new RegexConstraint();
			c.SetParametersInternal(new string[] { Constants.RegexString, "IgnoreCase" }, ParameterDataType.String);
			Assert.AreEqual(Constants.RegexString, c.RegularExpression);
			Assert.AreEqual(RegexOptions.IgnoreCase, c.Options);

		}