private void VerifyGetMailboxUrlResponseBody(GetMailboxUrlResponseBody getMailboxUrlResponseBody)
{
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R1099");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R1099
this.Site.CaptureRequirementIfIsInstanceOfType(
getMailboxUrlResponseBody.StatusCode,
typeof(uint),
1099,
@"[In GetMailboxUrl Request Type Success Response Body] StatusCode (4 bytes): An unsigned integer that specifies the status of the request.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R1100");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R1100
this.Site.CaptureRequirementIfAreEqual<uint>(
0,
getMailboxUrlResponseBody.StatusCode,
1100,
@"[In GetMailboxUrl Request Type Success Response Body] [StatusCode] This field MUST be set to 0x00000000.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R1101");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R1101
this.Site.CaptureRequirementIfIsInstanceOfType(
getMailboxUrlResponseBody.ErrorCode,
typeof(uint),
1101,
@"[In GetMailboxUrl Request Type Success Response Body] ErrorCode (4 bytes): An unsigned integer that specifies the return status of the operation.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R1102");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R1102
this.Site.CaptureRequirementIfIsInstanceOfType(
getMailboxUrlResponseBody.ServerUrl,
typeof(string),
1102,
@"[In GetMailboxUrl Request Type Success Response Body] ServerUrl (variable): A null-terminated Unicode string that specifies URL of the EMSMDB server.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R1103");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R1103
this.Site.CaptureRequirementIfIsInstanceOfType(
getMailboxUrlResponseBody.AuxiliaryBufferSize,
typeof(uint),
1103,
@"[In GetMailboxUrl Request Type Success Response Body] AuxiliaryBufferSize (4 bytes): An unsigned integer that specifies the size, in bytes, of the AuxiliaryBuffer field.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R1104");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R1104
this.Site.CaptureRequirementIfIsInstanceOfType(
getMailboxUrlResponseBody.AuxiliaryBuffer,
typeof(byte[]),
1104,
@"[In GetMailboxUrl Request Type Success Response Body] AuxiliaryBuffer (variable): An array of bytes that constitute the auxiliary payload data returned from the server.");
// Add the debug information
this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCMAPIHTTP_R1105");
// Verify MS-OXCMAPIHTTP requirement: MS-OXCMAPIHTTP_R1105
this.Site.CaptureRequirementIfAreEqual<uint>(
getMailboxUrlResponseBody.AuxiliaryBufferSize,
(uint)getMailboxUrlResponseBody.AuxiliaryBuffer.Length,
1105,
@"[In GetMailboxUrl Request Type Success Response Body] [AuxiliaryBuffer] The size of this field, in bytes, is specified by the AuxiliaryBufferSize field.");
}
#endregion