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

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

public testMatchAllFilter ( )
    public function testMatchAllFilter()
    {
        $result = $this->getContentSearchHandler()->findLocations(new LocationQuery(array('filter' => new Criterion\MatchAll(), 'limit' => 10, 'sortClauses' => array(new SortClause\Location\Id()))));
        $this->assertCount(10, $result->searchHits);
        $this->assertEquals(186, $result->totalCount);
        $this->assertSearchResults(array(2, 5, 12, 13, 14, 15, 43, 44, 45, 48), $result);
    }
HandlerLocationTest