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

testObjectStateIdFilterIn() public method

    public function testObjectStateIdFilterIn()
    {
        $this->assertSearchResults(array(2, 5, 12, 13, 14, 15, 43, 44, 45, 48), $this->getContentSearchHandler()->findLocations(new LocationQuery(array('filter' => new Criterion\ObjectStateId(array(1, 2)), 'limit' => 10, 'sortClauses' => array(new SortClause\Location\Id())))));
    }
HandlerLocationTest