CompositeResolverTest
extends TestCase
in package
Tags
Attributes
- #[CoversClass]
- \OpenTelemetry\SDK\Common\Configuration\Resolver\CompositeResolver::class
Table of Contents
Properties
- $one : ResolverInterface
- $resolver : CompositeResolver
- $two : ResolverInterface
Methods
- emptyProvider() : array<string|int, mixed>
- setUp() : void
- test_get_instance() : void
- test_has_variable() : void
- test_not_has_variable() : void
- test_resolve_uses_default_when_not_empty() : void
- test_resolve_uses_library_default_when_empty() : void
- test_resolve_when_has_variable() : void
Properties
$one
private
ResolverInterface
$one
$resolver
private
CompositeResolver
$resolver
$two
private
ResolverInterface
$two
Methods
emptyProvider()
public
static emptyProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>setUp()
public
setUp() : void
test_get_instance()
public
test_get_instance() : void
test_has_variable()
public
test_has_variable() : void
test_not_has_variable()
public
test_not_has_variable() : void
test_resolve_uses_default_when_not_empty()
public
test_resolve_uses_default_when_not_empty() : void
test_resolve_uses_library_default_when_empty()
public
test_resolve_uses_library_default_when_empty(string|null $value) : void
Parameters
- $value : string|null
Attributes
- #[DataProvider]
- 'emptyProvider'
test_resolve_when_has_variable()
public
test_resolve_when_has_variable() : void