eZ\Publish\Core\Search\Legacy\Tests\Content\Location\HandlerLocationTest::testObjectStateIdFilter PHP Метод

testObjectStateIdFilter() публичный Метод

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