public void Validate_InvalidData_Success()
		{
			CustomAssert.ThrowsException<CodedArgumentException>(() =>
			{
				MaximumLengthConstraint c = new MaximumLengthConstraint(4);
				IEnumerable<ParameterValidationResult> result = c.Validate(42, ParameterDataType.Bytes, Constants.MemberName);
			});

		}
		public void Validate_BytesTooLong_Success()
		{
			MaximumLengthConstraint c = new MaximumLengthConstraint(4);
			IEnumerable<ParameterValidationResult> result = c.Validate(new byte[] { 1, 2, 3, 4, 5, 6 }, ParameterDataType.Bytes, Constants.MemberName);
			Assert.IsNotNull(result);
			Assert.IsTrue(result.GetEnumerator().MoveNext());
		}
		public void Validate_UriTooLong_Success()
		{
			MaximumLengthConstraint c = new MaximumLengthConstraint(4);
			IEnumerable<ParameterValidationResult> result = c.Validate(new Uri("http://contoso.om"), ParameterDataType.Uri, Constants.MemberName);
			Assert.IsNotNull(result);
			Assert.IsTrue(result.GetEnumerator().MoveNext());
		}
		public void Validate_StringTooLong_Success()
		{
			MaximumLengthConstraint c = new MaximumLengthConstraint(4);
			IEnumerable<ParameterValidationResult> result = c.Validate("four and a bit", ParameterDataType.String, Constants.MemberName);
			Assert.IsNotNull(result);
			Assert.IsTrue(result.GetEnumerator().MoveNext());
		}