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

testIsMainLocationFilter() public method

    public function testIsMainLocationFilter()
    {
        $this->assertSearchResults(array(225), $this->getContentSearchHandler()->findLocations(new LocationQuery(array('filter' => new Criterion\LogicalAnd(array(new Criterion\ParentLocationId(224), new Criterion\Location\IsMainLocation(Criterion\Location\IsMainLocation::MAIN))), 'limit' => 10))));
    }
HandlerLocationTest