@@ -146,6 +146,9 @@ discard block |
||
146 | 146 | 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); |