OpenTelemetry PHP

ParserTest extends TestCase
in package

Attributes
#[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

Properties

Methods

headerProvider()

public static headerProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

invalidHeaderProvider()

public static invalidHeaderProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

test_parse_into()

public test_parse_into(string $header) : void
Parameters
$header : string
Attributes
#[DataProvider]
'headerProvider'

test_parse_into_splits_by_comma()

public test_parse_into_splits_by_comma() : void

test_parse_into_with_invalid_header()

public test_parse_into_with_invalid_header(string $header) : void
Parameters
$header : string
Attributes
#[DataProvider]
'invalidHeaderProvider'

test_parse_into_with_properties()

public test_parse_into_with_properties() : void

        
On this page

Search results