ParserTest
extends TestCase
-
#[CoversClass]
-
\OpenTelemetry\API\Baggage\Propagation\Parser::class
Table of Contents
Properties
-
$builder
: BaggageBuilderInterface|MockObject
Methods
-
headerProvider()
: array<string|int, mixed>
-
invalidHeaderProvider()
: array<string|int, mixed>
-
setUp()
: void
-
test_parse_into()
: void
-
test_parse_into_splits_by_comma()
: void
-
test_parse_into_with_invalid_header()
: void
-
test_parse_into_with_properties()
: void
public
static headerProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
public
static invalidHeaderProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
setUp()
public
setUp() : void
test_parse_into()
public
test_parse_into(string $header) : void
Parameters
-
$header
: string
-
-
#[DataProvider]
-
'headerProvider'
test_parse_into_splits_by_comma()
public
test_parse_into_splits_by_comma() : void
public
test_parse_into_with_invalid_header(string $header) : void
Parameters
-
$header
: string
-
-
#[DataProvider]
-
'invalidHeaderProvider'
test_parse_into_with_properties()
public
test_parse_into_with_properties() : void