MessageFactoryResolverTest
extends TestCase
-
#[CoversClass]
-
\OpenTelemetry\SDK\Common\Adapter\HttpDiscovery\MessageFactoryResolver::class
Table of Contents
Constants
-
DEPENDENCIES
= [\Psr\Http\Message\RequestFactoryInterface::class, \Psr\Http\Message\ResponseFactoryInterface::class, \Psr\Http\Message\ServerRequestFactoryInterface::class, \Psr\Http\Message\StreamFactoryInterface::class, \Psr\Http\Message\UploadedFileFactoryInterface::class, \Psr\Http\Message\UriFactoryInterface::class]
Methods
-
provideDependencies()
: Generator
-
setUp()
: void
-
test_resolve()
: void
-
resolveMethodName()
: string
DEPENDENCIES
private
mixed
DEPENDENCIES
= [\Psr\Http\Message\RequestFactoryInterface::class, \Psr\Http\Message\ResponseFactoryInterface::class, \Psr\Http\Message\ServerRequestFactoryInterface::class, \Psr\Http\Message\StreamFactoryInterface::class, \Psr\Http\Message\UploadedFileFactoryInterface::class, \Psr\Http\Message\UriFactoryInterface::class]
provideDependencies()
public
static provideDependencies() : Generator
setUp()
public
setUp() : void
test_resolve()
public
test_resolve(string $method, object $dependency, array<string|int, mixed> $arguments) : void
Parameters
-
$method
: string
-
-
$dependency
: object
-
-
$arguments
: array<string|int, mixed>
-
-
#[DataProvider]
-
'provideDependencies'
resolveMethodName()
private
static resolveMethodName(string $interface) : string
Parameters
-
$interface
: string
-
-
psalm-param
-