private VerifyType ( Microsoft.Protocols.TestSuites.Common.DataStructures email, byte typeValue ) : void | ||
Microsoft.Protocols.TestSuites.Common.DataStructures | The email item got from server. | |
typeValue | byte | The value of the Type element. |
return | void |
private void VerifyType(DataStructures.Email email, byte typeValue)
{
Site.Assert.IsNotNull(
email.Body,
"The Body element should be included in command response when the BodyPreference element is specified in command request.");
Site.Assert.AreEqual<byte>(
typeValue,
email.Body.Type,
"The Type value in command response should be {0}.",
typeValue);
}
#endregion