@@ -29,6 +29,10 @@ |
||
29 | 29 | /** @var array */ |
30 | 30 | private $entityChangeSet; |
31 | 31 | |
32 | + /** |
|
33 | + * @param \PHPUnit\Framework\MockObject\MockObject $nodePagesConfiguration |
|
34 | + * @param \PHPUnit\Framework\MockObject\MockObject $em |
|
35 | + */ |
|
32 | 36 | public function __construct(/* NodePagesConfiguration */ |
33 | 37 | $nodePagesConfiguration, /* EntityManagerInterface */ |
34 | 38 | $em = null) |
@@ -146,6 +146,9 @@ discard block |
||
146 | 146 | $listener = new NodeIndexUpdateEventListener($this->getContainer($this->getSearchConfiguration(false)), $em); |
147 | 147 | } |
148 | 148 | |
149 | + /** |
|
150 | + * @param \PHPUnit\Framework\MockObject\MockObject $searchConfigMock |
|
151 | + */ |
|
149 | 152 | private function getContainer($searchConfigMock) |
150 | 153 | { |
151 | 154 | $container = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface'); |
@@ -160,6 +163,9 @@ discard block |
||
160 | 163 | return $container; |
161 | 164 | } |
162 | 165 | |
166 | + /** |
|
167 | + * @param boolean $expectCall |
|
168 | + */ |
|
163 | 169 | private function getSearchConfiguration($expectCall) |
164 | 170 | { |
165 | 171 | $searchConfig = $this->createMock(NodePagesConfiguration::class); |