Microsoft.Protocols.TestSuites.MS_OXCNOTIF.S02_SubscribeAndReceiveNotifications.VerifyTriggerBasicNotification C# (CSharp) Method

VerifyTriggerBasicNotification() private method

This method is used to verify the basic notification response.
private VerifyTriggerBasicNotification ( bool isBasicNotification ) : void
isBasicNotification bool Whether the response is Basic notification
return void
        private void VerifyTriggerBasicNotification(bool isBasicNotification)
        {
            if (Common.IsRequirementEnabled(271, this.Site))
            {
                // Add the debug information
                this.Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCNOTIF_R271: The implementation does {0} generate a basic notification", isBasicNotification ? string.Empty : "not");

                // Verify MS-OXCNOTIF requirement: MS-OXCNOTIF_R271
                // The basic notification that does not include specifics about the change made. So the returned value of the Folder ID and Message ID is null.
                this.Site.CaptureRequirementIfIsTrue(
                    isBasicNotification,
                    271,
                    @"[In Appendix A: Product Behavior] Implementation does only generate a basic notification when it is not feasible to generate an informative notification. (Exchange 2007 and above follow this behavior.)");
            }
        }
S02_SubscribeAndReceiveNotifications