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

testLocationIdParentLocationIdAndCombinatorFilter() public method

    public function testLocationIdParentLocationIdAndCombinatorFilter()
    {
        $this->assertSearchResults(array(44, 160), $this->getContentSearchHandler()->findLocations(new LocationQuery(array('filter' => new Criterion\LogicalAnd(array(new Criterion\LocationId(array(2, 44, 160, 166)), new Criterion\ParentLocationId(array(5, 156)))), 'limit' => 10))));
    }
HandlerLocationTest