BaggagePropagatorTest
extends TestCase
-
#[CoversClass]
-
\OpenTelemetry\API\Baggage\Propagation\BaggagePropagator::class
Table of Contents
Methods
-
headerProvider()
: array<string|int, mixed>
-
test_extract()
: void
-
test_extract_missing_header()
: void
-
test_fields()
: void
-
test_inject()
: void
-
test_inject_empty_baggage()
: void
-
test_inject_encodes_value()
: void
public
static headerProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
public
test_extract(string $header, Baggage $expectedBaggage) : void
Parameters
-
$header
: string
-
-
$expectedBaggage
: Baggage
-
-
#[DataProvider]
-
'headerProvider'
public
test_extract_missing_header() : void
test_fields()
public
test_fields() : void
test_inject()
public
test_inject() : void
test_inject_empty_baggage()
public
test_inject_empty_baggage() : void
test_inject_encodes_value()
public
test_inject_encodes_value() : void