self::
assertSame([$psrRequest],
$resolver->
getArguments($symfonyRequest,
static function DMessageInterface
$request): void
{}));
} private function bootstrapResolver(Request
$symfonyRequest, ServerRequestInterface
$psrRequest): ArgumentResolver
{ $messageFactory =
$this->
createMock(HttpMessageFactoryInterface::
class);
$messageFactory->
expects(self::
once()) ->
method('createRequest'
) ->
with(self::
identicalTo($symfonyRequest)) ->
willReturn($psrRequest);
return new ArgumentResolver(null,
[new PsrServerRequestResolver($messageFactory)]);
}}