$stopwatch =
$this->
createStub(Stopwatch::
class);
$stopwatch->
method('start'
)->
willReturn($stopwatchEvent);
$resolver =
new class() implements ArgumentResolverInterface
{ public function getArguments(Request
$request, callable
$controller): array
{ throw new \
Exception();
} };
$traceableResolver =
new TraceableArgumentResolver($resolver,
$stopwatch);
try { $traceableResolver->
getArguments(new Request(),
function D
) {});
} catch (\Exception
$ex) { } }}