src/Bundle/GridBundle/Tests/Sort/SorterRendererTest.php 1 location
|
@@ 572-579 (lines=8) @@
|
569 |
|
/** |
570 |
|
* @return \PHPUnit_Framework_MockObject_MockObject|Request |
571 |
|
*/ |
572 |
|
private function createRequestMock() |
573 |
|
{ |
574 |
|
$request = $this->createMock(Request::class); |
575 |
|
$request->query = $this->createParameterBagMock(); |
576 |
|
$request->attributes = $this->createParameterBagMock(); |
577 |
|
|
578 |
|
return $request; |
579 |
|
} |
580 |
|
|
581 |
|
/** |
582 |
|
* @return \PHPUnit_Framework_MockObject_MockObject|ParameterBag |
src/Bundle/ResourceBundle/Tests/Rest/View/EventSubscriber/PagerfantaViewSubscriberTest.php 1 location
|
@@ 421-429 (lines=9) @@
|
418 |
|
/** |
419 |
|
* @return \PHPUnit_Framework_MockObject_MockObject|Request |
420 |
|
*/ |
421 |
|
private function createRequestMock() |
422 |
|
{ |
423 |
|
$request = $this->createMock(Request::class); |
424 |
|
|
425 |
|
$request->attributes = $this->createParameterBagMock(); |
426 |
|
$request->query = $this->createParameterBagMock(); |
427 |
|
|
428 |
|
return $request; |
429 |
|
} |
430 |
|
|
431 |
|
/** |
432 |
|
* @return \PHPUnit_Framework_MockObject_MockObject|ParameterBag |