public void MSASCON_S02_TC02_GetItemEstimate_Status4()
{
#region Initial Sync on Calendar folder.
// Call Initial Sync command to get the latest SyncKey.
SyncStore syncStore = this.CONAdapter.Sync(Common.CreateInitialSyncRequest(User1Information.CalendarCollectionId));
#endregion
#region Call GetItemEstimate command on Calendar folder with setting ConversationMode element in the request.
GetItemEstimateResponse getItemEstimateResponse = this.CallGetItemEstimateCommand(syncStore.SyncKey, User1Information.CalendarCollectionId);
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-ASCON_R336");
// Verify MS-ASCON requirement: MS-ASCON_R336
// If the response Status is 4, this requirement can be captured.
Site.CaptureRequirementIfAreEqual<int>(
4,
int.Parse(getItemEstimateResponse.ResponseData.Status),
336,
@"[In Processing a GetItemEstimate Command] [The meaning of status code] 4 [is] Protocol error. The conversation-based filter cannot be applied to a folder that is not of the Email class.");
#endregion
}
#endregion