eZ\Publish\Core\Search\Legacy\Tests\Content\Location\HandlerLocationTest::testContentDepthFilterLessThan PHP Method

testContentDepthFilterLessThan() public method

    public function testContentDepthFilterLessThan()
    {
        $this->assertSearchResults(array(2, 5, 43, 48, 58), $this->getContentSearchHandler()->findLocations(new LocationQuery(array('filter' => new Criterion\Location\Depth(Criterion\Operator::LT, 2), 'limit' => 10))));
    }
HandlerLocationTest