private void TestSpanContextConversion(SpanContext spanContext) { var propagatedBinarySpanContext = binaryFormat.FromByteArray(binaryFormat.ToByteArray(spanContext)); Assert.Equal(spanContext, propagatedBinarySpanContext); }