SpanBuilderTest
extends TestCase
in package
Attributes
- #[CoversClass]
- \OpenTelemetry\SDK\Trace\SpanBuilder::class
Table of Contents
Constants
Properties
- $builder : SpanBuilder
- $idGenerator : IdGeneratorInterface|MockObject
- $sampler : SamplerInterface|MockObject
- $spanProcessor : SpanProcessorInterface|MockObject
Methods
- setUp() : void
- test_start_span() : void
Constants
SPAN_ID
private
mixed
SPAN_ID
= '46701247e52c2d1b'
TRACE_ID
private
mixed
TRACE_ID
= 'e4a8d4e0d75c0702200af2882cb16c6b'
Properties
$builder
private
SpanBuilder
$builder
$idGenerator
private
IdGeneratorInterface|MockObject
$idGenerator
$sampler
private
SamplerInterface|MockObject
$sampler
$spanProcessor
private
SpanProcessorInterface|MockObject
$spanProcessor
Methods
setUp()
public
setUp() : void
test_start_span()
public
test_start_span() : void