private void VerifyDeleteAttachmentSuccessfulResponse(DeleteAttachmentResponseType deleteAttachmentResponse)
{
foreach (DeleteAttachmentResponseMessageType deleteAttachmentResponseMessage in deleteAttachmentResponse.ResponseMessages.Items)
{
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSATT_R203");
// Verify MS-OXWSATT requirement: MS-OXWSATT_R203
Site.CaptureRequirementIfAreEqual<ResponseClassType>(
ResponseClassType.Success,
deleteAttachmentResponseMessage.ResponseClass,
203,
@"[In DeleteAttachment Operation] A successful DeleteAttachment operation request returns a DeleteAttachmentResponse element with the ResponseClass attribute of the DeleteAttachmentResponseMessage element set to ""Success"".");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSATT_R204");
// Verify MS-OXWSATT requirement: MS-OXWSATT_R204
Site.CaptureRequirementIfAreEqual<ResponseCodeType>(
ResponseCodeType.NoError,
deleteAttachmentResponseMessage.ResponseCode,
204,
@"[In DeleteAttachment Operation][A successful DeleteAttachment operation request returns a DeleteAttachmentResponse element] The ResponseCode element of the DeleteAttachmentResponse element is set to ""NoError"".");
}
}