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

testFindWithoutOffsetLimit() public method

    public function testFindWithoutOffsetLimit()
    {
        $handler = $this->getContentSearchHandler();
        $searchResult = $handler->findLocations(new LocationQuery(array('filter' => new Criterion\LocationId(2))));
        $this->assertEquals(1, $searchResult->totalCount);
        $this->assertCount(1, $searchResult->searchHits);
    }
HandlerLocationTest