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