ConfigTest
extends TestCase
-
#[CoversClass]
-
\OpenTelemetry\SDK\Common\InstrumentationScope\ConfigTrait::class
Table of Contents
Properties
-
$config
: Config
Methods
-
enabledProvider()
: array<string|int, mixed>
-
setUp()
: void
-
test_default_is_enabled()
: void
-
test_is_enabled()
: void
$config
private
Config
$config
enabledProvider()
public
static enabledProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
setUp()
public
setUp() : void
test_default_is_enabled()
public
test_default_is_enabled() : void
test_is_enabled()
public
test_is_enabled(bool $disabled, bool $expected) : void
Parameters
-
$disabled
: bool
-
-
$expected
: bool
-
-
#[DataProvider]
-
'enabledProvider'