public void OnRequest_creates_span_if_parent()
        {
            var tracer       = new TestTracer();
            var traceContext = new TraceContext();
            var interceptor  = GetInterceptor(tracer, traceContext);
            var request      = new HttpRequestMessage(HttpMethod.Get, new Uri("http://www.example.com/api/values"));

            // Create parent span
            var parentSpan = tracer.BuildSpan("parent").Start();

            traceContext.Push(parentSpan);

            // Call interceptor
            interceptor.OnRequest(request);

            var newSpan = (TestSpan)request.Properties[PropertySpan];

            Assert.NotSame(parentSpan, newSpan);
        }