public void Validate_UnknownSchema_Success()
		{
			AllowedSchemeConstraint c = new AllowedSchemeConstraint(Constants.SchemeNames);
			IEnumerable<ParameterValidationResult> res = c.Validate(new Uri("ftp://ftp.contoso.com"), ParameterDataType.Uri, Constants.MemberName);
			Assert.IsNotNull(res);
			Assert.IsTrue(res.GetEnumerator().MoveNext());
		}
		public void Validate_SchemasNull_Error()
		{
			CustomAssert.ThrowsException<ConstraintConfigurationException>(() =>
			{
				AllowedSchemeConstraint c = new AllowedSchemeConstraint();
				IEnumerable<ParameterValidationResult> res = c.Validate(new Uri("http://www.contoso.com"), ParameterDataType.Uri, Constants.MemberName);
			});
		}
		public void AssertDataType_DataType_Error()
		{
			CustomAssert.ThrowsException<InvalidDataTypeException>(() =>
			{
				AllowedSchemeConstraint c = new AllowedSchemeConstraint(Constants.SchemeName);
				c.Validate(42, ParameterDataType.Int32, Constants.MemberName);

			});
		}