EventLoggerProviderFactoryTest
extends TestCase
uses
TestState
-
#[CoversClass]
-
\OpenTelemetry\SDK\Logs\EventLoggerProviderFactory::class
Table of Contents
Properties
-
$environmentVariables
: array<string|int, mixed>
Methods
-
createProvider()
: array<string|int, mixed>
-
test_create()
: void
-
restoreEnvironmentVariables()
: void
-
setEnvironmentVariable()
: void
-
tearDownSharedState()
: void
$environmentVariables
private
array<string|int, mixed>
$environmentVariables
= []
createProvider()
public
static createProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
test_create()
public
test_create(string $disabled, string $expected) : void
Parameters
-
$disabled
: string
-
-
$expected
: string
-
-
psalm-suppress
-
-
#[DataProvider]
-
'createProvider'
restoreEnvironmentVariables()
protected
restoreEnvironmentVariables() : void
setEnvironmentVariable()
protected
setEnvironmentVariable(string $variable, mixed $value) : void
Parameters
-
$variable
: string
-
-
$value
: mixed
-
tearDownSharedState()
protected
tearDownSharedState() : void