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

testLocationNotCombinatorFilter() public method

    public function testLocationNotCombinatorFilter()
    {
        $this->assertSearchResults(array(2, 5), $this->getContentSearchHandler()->findLocations(new LocationQuery(array('filter' => new Criterion\LogicalAnd(array(new Criterion\LocationId(array(2, 5, 12, 356)), new Criterion\LogicalNot(new Criterion\LocationId(array(12, 13, 14))))), 'limit' => 10))));
    }
HandlerLocationTest