Code Duplication    Length = 14-14 lines in 2 locations

eZ/Publish/Core/Search/Legacy/Tests/Content/HandlerLocationTest.php 2 locations

@@ 446-459 (lines=14) @@
443
        );
444
    }
445
446
    public function testContentDepthFilterIn()
447
    {
448
        $this->assertSearchResults(
449
            array(2, 5, 12, 13, 14, 43, 44, 48, 51, 52, 53, 54, 56, 58, 59, 69, 77, 86, 96, 107, 153, 156, 167, 190, 227),
450
            $this->getContentSearchHandler()->findLocations(
451
                new LocationQuery(
452
                    array(
453
                        'filter' => new Criterion\Location\Depth(Criterion\Operator::IN, array(1, 2)),
454
                        'limit' => 50,
455
                    )
456
                )
457
            )
458
        );
459
    }
460
461
    public function testContentDepthFilterBetween()
462
    {
@@ 520-533 (lines=14) @@
517
        );
518
    }
519
520
    public function testContentDepthFilterLessThanOrEqual()
521
    {
522
        $this->assertSearchResults(
523
            array(2, 5, 12, 13, 14, 43, 44, 48, 51, 52, 53, 54, 56, 58, 59, 69, 77, 86, 96, 107, 153, 156, 167, 190, 227),
524
            $this->getContentSearchHandler()->findLocations(
525
                new LocationQuery(
526
                    array(
527
                        'filter' => new Criterion\Location\Depth(Criterion\Operator::LTE, 2),
528
                        'limit' => 50,
529
                    )
530
                )
531
            )
532
        );
533
    }
534
535
    public function testLocationPriorityFilter()
536
    {