public void GIVENEmptyActivity_WHENTrackActivityIsInvoked_THENExceptionIsBeingThrown(
            InstrumentationSettings settings)
        {
            // Arrange
            var             instrumentation = new ActivityInstrumentation(this.telemetryClient, settings);
            const IActivity emptyActivity   = null;

            // Act
            // Assert
            Assert.ThrowsAsync <ArgumentNullException>(() => instrumentation.TrackActivity(emptyActivity))
            .ConfigureAwait(false);
        }
        public async void GIVENAnyActivity_WHENTrackActivityIsInvoked_THENEventTelemetryIsBeingSent(
            IActivity activity,
            InstrumentationSettings settings)
        {
            // Arrange
            var instrumentation = new ActivityInstrumentation(this.telemetryClient, settings);

            // Act
            await instrumentation.TrackActivity(activity).ConfigureAwait(false);

            // Assert
            this.mockTelemetryChannel.Verify(
                tc => tc.Send(It.Is <EventTelemetry>(x => x.Name == EventTypes.ActivityEvent)),
                Times.Once);
        }