private void VerifyGetAttachmentSuccessfulResponse(GetAttachmentResponseType getAttachmentResponse)
{
foreach (AttachmentInfoResponseMessageType getAttachmentInfoResponse in getAttachmentResponse.ResponseMessages.Items)
{
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSATT_R259");
// Verify MS-OXWSATT requirement: MS-OXWSATT_R259
Site.CaptureRequirementIfAreEqual<ResponseClassType>(
ResponseClassType.Success,
getAttachmentInfoResponse.ResponseClass,
259,
@"[In GetAttachment Operation] If the request is successful, the GetAttachment operation returns a GetAttachmentResponse element with the ResponseClass attribute of the GetAttachmentResponseMessage element set to ""Success"". ");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSATT_R260");
// Verify MS-OXWSATT requirement: MS-OXWSATT_R260
Site.CaptureRequirementIfAreEqual<ResponseCodeType>(
ResponseCodeType.NoError,
getAttachmentInfoResponse.ResponseCode,
260,
@"[In GetAttachment Operation] [A successful GetAttachment operation request returns a GetAttachmentResponse element ] The ResponseCode element of the GetAttachmentResponse element is set to ""NoError"".");
}
}
#endregion