Tests/Unit/Controller/CountControllerTest.php 1 location
|
@@ 51-59 (lines=9) @@
|
| 48 |
|
self::assertSame(3, $controller->countAction(['a' => [1, 2, 4]])); |
| 49 |
|
} |
| 50 |
|
|
| 51 |
|
private function createFixture($a, $b, $c) |
| 52 |
|
{ |
| 53 |
|
$entity = new AbcClass(); |
| 54 |
|
$entity->a = $a; |
| 55 |
|
$entity->b = $b; |
| 56 |
|
$entity->c = $c; |
| 57 |
|
|
| 58 |
|
return $entity; |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
/** |
| 62 |
|
* @return ReferenceProviderInterface|\PHPUnit_Framework_MockObject_MockObject |
Tests/Unit/Controller/SearchControllerTest.php 1 location
|
@@ 98-106 (lines=9) @@
|
| 95 |
|
self::assertSame([$f1, $f2, $f3, $f4], $result->toArray()); |
| 96 |
|
} |
| 97 |
|
|
| 98 |
|
private function createFixture($a, $b, $c) |
| 99 |
|
{ |
| 100 |
|
$entity = new AbcClass(); |
| 101 |
|
$entity->a = $a; |
| 102 |
|
$entity->b = $b; |
| 103 |
|
$entity->c = $c; |
| 104 |
|
|
| 105 |
|
return $entity; |
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
/** |
| 109 |
|
* @return ReferenceProviderInterface|\PHPUnit_Framework_MockObject_MockObject |