processed options"
);
my $pass_span_context = { @{$call_args} }->{context};
isnt $some_span_context, $pass_span_context,
"The passed on context is not the same, we should
ass_span_context->trace_id, '9f3a2',
"... with the expected 'trace_id' [9f3a2]";
isnt $pass_span_context->span_id, '13ba5',
"... and has a 'span_id' that is different from the
me_carrier, $mock_context ],
"... and did pass on the expected arguments"
);
isnt $result, $some_carrier,
"... and did return a 'cloned' carrier";
$mock
me_carrier, $mock_context ],
"... and did pass on the expected arguments"
);
isnt $result, $some_carrier,
"... and did return a 'cloned' carrier";
$mock
n_context_2 = $test_span->get_context;
} "Got a SpanContext [2]"
or return;
isnt $span_context_1, $span_context_2,
"... that is not the same object reference as the origi
n_context_2 = $test_span->get_context;
} "Got a SpanContext [2]"
or return;
isnt $span_context_1, $span_context_2,
"... that is not the same object reference as the origi
ith_baggage_item(
item_2 => 'bar',
);
} "Got a SpanContext [2]";
isnt $span_context_1, $span_context_2,
"... that is not the same object reference as the origi
item_2 => 'qux',
item_3 => 'baz',
);
} "Got a SpanContext [2]";
isnt $span_context_1, $span_context_2,
"... that is not the same object reference as the origi
>with_span_id('67890');
} "... and cloned a new SpanContext [2]"
or return;
isnt $span_context_1, $span_context_2,
"... that is not the same object reference as the original"
with_trace_id('12345');
} "... and cloned a new SpanContext [2]"
or return;
isnt $span_context_1, $span_context_2,
"... that is not the same object reference as the original"