eZ\Publish\Core\Search\Legacy\Tests\Content\Location\HandlerLocationTest::testContentDepthFilterGreaterThan PHP Метод

testContentDepthFilterGreaterThan() публичный Метод

    public function testContentDepthFilterGreaterThan()
    {
        $this->assertSearchResults(array(99, 102, 135, 136, 137, 139, 140, 142, 143, 144, 145, 148, 151, 174, 175, 177, 194, 196, 197, 198, 199, 200, 201, 202, 203, 205, 206, 207, 208, 209, 210, 211, 212, 214, 215), $this->getContentSearchHandler()->findLocations(new LocationQuery(array('filter' => new Criterion\Location\Depth(Criterion\Operator::GT, 4), 'limit' => 50))));
    }
HandlerLocationTest