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

testIsNotMainLocationFilter() public method

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