WithSpanHandlerTest
extends TestCase
in package
Attributes
- #[CoversClass]
- \OpenTelemetry\API\Instrumentation\WithSpanHandler::class
Table of Contents
Properties
- $scope : ScopeInterface
- $storage : ArrayObject
Methods
- defaultsProvider() : array<string|int, mixed>
- setUp() : void
- tearDown() : void
- test_creates_span_with_all_values() : void
- test_defaults() : void
Properties
$scope
private
ScopeInterface
$scope
$storage
private
ArrayObject
$storage
Methods
defaultsProvider()
public
static defaultsProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>setUp()
public
setUp() : void
tearDown()
public
tearDown() : void
test_creates_span_with_all_values()
public
test_creates_span_with_all_values() : void
test_defaults()
public
test_defaults(string $class, string $function, string $expected) : void
Parameters
- $class : string
- $function : string
- $expected : string
Attributes
- #[DataProvider]
- 'defaultsProvider'