/**
* @author Alexander M. Turek <me@derrabus.de>
*/
final class PsrServerRequestResolverTest extends TestCase
{ public function testServerRequest() { $symfonyRequest =
$this->
createMock(Request::
class);
$psrRequest =
$this->
createMock(ServerRequestInterface::
class);
$resolver =
$this->
bootstrapResolver($symfonyRequest,
$psrRequest);
self::
assertSame([$psrRequest],
$resolver->
getArguments($symfonyRequest,
static function DServerRequestInterface
$serverRequest): void
{}));
} public function testRequest() { $symfonyRequest =
$this->
createMock(Request::
class);
$psrRequest =
$this->
createMock(ServerRequestInterface::
class);
$resolver =
$this->
bootstrapResolver($symfonyRequest,
$psrRequest);