Microsoft.Protocols.TestSuites.MS_WWSP.MS_WWSPAdapter.CaptureSoapInfoAlterToDo C# (CSharp) Method

CaptureSoapInfoAlterToDo() private method

Capture soap information related requirements of AlterToDo operation.
private CaptureSoapInfoAlterToDo ( ) : void
return void
        private void CaptureSoapInfoAlterToDo()
        {
            // Check whether SOAP body contains AlterToDoResponse element.
            bool isVerifyR89 = AdapterHelper.HasElement(SchemaValidation.LastRawResponseXml, "AlterToDoResponse");

            // Add the log information.
            Site.Log.Add(LogEntryKind.Debug, "Verify MS-WWSP_R89, whether the SOAP body contains an AlterToDoResponse element:{0}", isVerifyR89);

            // Verify MS-WWSP requirement: MS-WWSP_R89
            Site.CaptureRequirementIfIsTrue(
                isVerifyR89,
                89,
                "[In AlterToDoSoapOut] The SOAP body contains an AlterToDoResponse element.");
        }