/// <summary> /// Verify RopTransportNewMail Response /// </summary> /// <param name="ropTransportNewMailResponse">The response of RopTransportNewMail request</param> /// <param name="inputHandleIndex">The field of InputHandleIndex in RopTransportNewMail request</param> private void VerifyRopTransportNewMailResponse(RopTransportNewMailResponse ropTransportNewMailResponse, byte inputHandleIndex) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2511"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2511 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropTransportNewMailResponse.RopId.GetType(), 2511, @"[In RopTransportNewMail ROP Response Buffer]RopId (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2513"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2513 Site.CaptureRequirementIfAreEqual<byte>( (byte)RopId.RopTransportNewMail, ropTransportNewMailResponse.RopId, 2513, @"[In RopTransportNewMail ROP Response Buffer,RopId (1 byte)]For this operation[[RopTransportNewMail]], this field is set to 0x51."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2514"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2514 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropTransportNewMailResponse.InputHandleIndex.GetType(), 2514, @"[In RopTransportNewMail ROP Response Buffer]InputHandleIndex (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2515"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2515 Site.CaptureRequirementIfAreEqual<byte>( inputHandleIndex, ropTransportNewMailResponse.InputHandleIndex, 2515, @"[In RopTransportNewMail ROP Response Buffer,InputHandleIndex (1 byte)]This index MUST be set to the value specified in the InputHandleIndex field in the request."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2517"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2517 Site.CaptureRequirementIfAreEqual<Type>( typeof(uint), ropTransportNewMailResponse.ReturnValue.GetType(), 2517, @"[In RopTransportNewMail ROP Response Buffer]ReturnValue (4 bytes): An unsigned integer."); }