ExtensionHookManagerTest
extends TestCase
in package
Attributes
- #[CoversClass]
- \OpenTelemetry\API\Instrumentation\AutoInstrumentation\ExtensionHookManager::class
Table of Contents
Properties
- $context : Context
- $hookManager : HookManagerInterface
- $registry : ConfigurationRegistry
- $scope : ScopeInterface
Methods
- setUp() : void
- tearDown() : void
- test_disable_hook_manager_after_use() : void
- test_hook_manager_disabled() : void
- test_modify_return_value_from_post_hook() : void
- createInstrumentation() : Instrumentation
Properties
$context
private
Context
$context
$hookManager
private
HookManagerInterface
$hookManager
$registry
private
ConfigurationRegistry
$registry
$scope
private
ScopeInterface
$scope
Methods
setUp()
public
setUp() : void
tearDown()
public
tearDown() : void
test_disable_hook_manager_after_use()
public
test_disable_hook_manager_after_use() : void
test_hook_manager_disabled()
public
test_hook_manager_disabled() : void
test_modify_return_value_from_post_hook()
public
test_modify_return_value_from_post_hook() : void
createInstrumentation()
private
createInstrumentation(string $class, string $method, mixed $pre, mixed $post) : Instrumentation
Parameters
- $class : string
- $method : string
- $pre : mixed
- $post : mixed