private void VerifyApplyContentTypeToListOperation(
ApplyContentTypeToListResponseApplyContentTypeToListResult applyContentTypeToListResult)
{
// Verify R1624
// The response have been received successfully, then the following requirement can be captured.
// If the response is not received and parsed successfully, the test case will fail before this requirement is captured
Site.CaptureRequirement(
1624,
@"[The schema of ApplyContentTypeToList is defined as:]"
+ @"<wsdl:operation name=""ApplyContentTypeToList"">"
+ @" <wsdl:input message=""ApplyContentTypeToListSoapIn"" />"
+ @" <wsdl:output message=""ApplyContentTypeToListSoapOut"" />"
+ @"</wsdl:operation>");
// Verify R372
// The response have been received successfully, then the following requirement can be captured.
// If the response is not received and parsed successfully, the test case will fail before this requirement is captured
Site.CaptureRequirement(
372,
@"[In ApplyContentTypeToList operation] [If the protocol client sends an "
+ "ApplyContentTypeToListSoapIn request message] the protocol server "
+ "responds with an ApplyContentTypeToListSoapOut response message.");
// Verify R1629
// The response have been received successfully, then the following requirement can be captured.
// If the response is not received and parsed successfully, the test case will fail before this requirement is captured
Site.CaptureRequirement(
1629,
@"[ApplyContentTypeToListSoapOut]The SOAP Body contains an "
+ "ApplyContentTypeToListResponse element.");
// Verify R1635
// The response have been received successfully, then the following requirement can be captured.
// If the response is not received and parsed successfully, the test case will fail before this requirement is captured
Site.CaptureRequirement(
1635,
@"[The schema of ApplyContentTypeToListResponse is defined as:] "
+ @"<s:element minOccurs=""0"" maxOccurs=""1"" name=""ApplyContentTypeToListResponse"">"
+ @" <s:complexType>"
+ @" <s:sequence>"
+ @" <s:element name=""ApplyContentTypeToListResult"">"
+ @" <s:complexType mixed=""true"">"
+ @" <s:sequence>"
+ @" <s:element name=""Success"">"
+ @" <s:complexType/>"
+ @" </s:element>"
+ @" </s:sequence>"
+ @" </s:complexType>"
+ @" </s:element>"
+ @" </s:sequence>"
+ @" </s:complexType>"
+ @"</s:element>");
// Verify R384
// Ensure the SOAP result is de-serialized successfully.
Site.Assume.IsNotNull(
applyContentTypeToListResult,
"The result of ApplyContentTypeToList operation must not be null.");
// If no exception thrown and the result is not null, then the following
// requirement can be captured.
Site.CaptureRequirementIfIsNotNull(
applyContentTypeToListResult,
384,
@"[In ApplyContentTypeToList operation] If the operation succeeds, an "
+ "ApplyContentTypeToListResult MUST be returned.");
}