->
willReturn($tokens);
$request = Request::
create('/_profiler/empty/search/results', 'GET',
[ 'limit' => 2,
'ip' => '127.0.0.1',
'method' => 'GET',
'url' => 'http://example.com/',
]);
$twig->
expects($this->
once()) ->
method('render'
) ->
with($this->
stringEndsWith('results.html.twig'
),
$this->
equalTo([ 'token' => 'empty',
'profile' => null,
'tokens' =>
$tokens,
'ip' => '127.0.0.1',
'method' => 'GET',
'status_code' => null,
'url' => 'http://example.com/',
'start' => null,
'end' => null,
'limit' => 2,
'panel' => null,