public void SetParameters_NoParamsOrNull_Error()
		{
			CustomAssert.ThrowsException<ConstraintConfigurationException>(() =>
			{
				AllowedSchemeConstraint c = new AllowedSchemeConstraint();
				c.SetParametersInternal(new string[0], ParameterDataType.Uri);
			});
			CustomAssert.ThrowsException<ConstraintConfigurationException>(() =>
			{
				AllowedSchemeConstraint c = new AllowedSchemeConstraint();
				c.SetParametersInternal(new string[] { "1", "2", null, "4" }, ParameterDataType.Uri);
			});
		}
		public void SetParameters_Success()
		{
			AllowedSchemeConstraint c = new AllowedSchemeConstraint();
			c.SetParametersInternal(new string[] { Constants.SchemeNames[0], Constants.SchemeNames[1], Constants.SchemeNames[2] }, ParameterDataType.Uri);
			Assert.IsNotNull(c.AllowedSchemes);
			List<string> TempSchemas = new List<string>(c.AllowedSchemes);
			Assert.AreEqual(3, TempSchemas.Count);

		}