public function testFindWithZeroLimit()
{
$locator = $this->getContentSearchHandler();
$result = $locator->findContent(new Query(array('filter' => new Criterion\ContentId(10), 'offset' => 0, 'limit' => 0)));
$this->assertEquals(1, $result->totalCount);
$this->assertEquals(array(), $result->searchHits);
}