Microsoft.Protocols.TestSuites.MS_CPSWS.MS_CPSWSAdapter.ValidateArrayOfAnyTypeComplexType C# (CSharp) Method

ValidateArrayOfAnyTypeComplexType() private method

A method used to validate ArrayOfAnyType complex type.
private ValidateArrayOfAnyTypeComplexType ( ) : void
return void
        private void ValidateArrayOfAnyTypeComplexType()
        {
            XmlElement xmlResponse = SchemaValidation.LastRawResponseXml;
            bool isResponseValid = SchemaValidation.ValidationResult == ValidationResult.Success;

            // The response have been received successfully, then the following requirement can be captured.
            Site.CaptureRequirementIfIsTrue(
                isResponseValid,
                29,
                @"[In ArrayOfAnyType] ArrayOfAnyType: An array of elements of any type.
                    <xs:complexType name=""ArrayOfAnyType"" xmlns:xs=""http://www.w3.org/2001/XMLSchema"">
  <xs:sequence>
    <xs:element minOccurs=""0"" maxOccurs=""unbounded"" name=""anyType"" nillable=""true""/>
  </xs:sequence>
</xs:complexType>
");
        }