public void TelemetryEventsEmittedInsideServiceCallContainExpectedContext()
        {
            TestTelemetryChannel.Clear();
            using (var host = new HostingContext <SimpleService, ISimpleService>())
            {
                host.Open();
                ISimpleService client = host.GetChannel();
                client.CallThatEmitsEvent();

                var data    = TestTelemetryChannel.CollectedData();
                var request = data
                              .OfType <RequestTelemetry>()
                              .First();
                var customEvent = data
                                  .OfType <EventTelemetry>()
                                  .FirstOrDefault();
                Assert.IsNotNull(customEvent);
                Assert.AreEqual(request.Context.Operation.Id, customEvent.Context.Operation.Id);
                Assert.AreEqual(request.Context.Operation.Name, customEvent.Context.Operation.Name);
            }
        }