Example #1
0
        public void GetExtensionMethods()
        {
            var cloudEvent = new CloudEvent
            {
                ["traceparent"] = "parent",
                ["tracestate"]  = "state"
            };

            Assert.Equal("parent", cloudEvent.GetTraceParent());
            Assert.Equal("state", cloudEvent.GetTraceState());
        }