@@ -20,6 +20,9 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | private const URL_CONTENT_TYPE_IDENTIFIER = 'link_ct'; |
| 22 | 22 | |
| 23 | + /** |
|
| 24 | + * @param integer $expectedTotalCount |
|
| 25 | + */ |
|
| 23 | 26 | protected function doTestFindUrls(URLQuery $query, array $expectedUrls, $expectedTotalCount = null, $ignoreOrder = true) |
| 24 | 27 | { |
| 25 | 28 | $repository = $this->getRepository(); |
@@ -37,6 +40,9 @@ discard block |
||
| 37 | 40 | $this->assertSearchResultItems($searchResult, $expectedUrls, $ignoreOrder); |
| 38 | 41 | } |
| 39 | 42 | |
| 43 | + /** |
|
| 44 | + * @param boolean $ignoreOrder |
|
| 45 | + */ |
|
| 40 | 46 | protected function assertSearchResultItems(SearchResult $searchResult, array $expectedUrls, $ignoreOrder) |
| 41 | 47 | { |
| 42 | 48 | $this->assertCount(count($expectedUrls), $searchResult->items); |