/**
  * @test
  * @expectedException \InvalidArgumentException
  */
 public function setOffsetRejectsIntegersLessThanZero()
 {
     $this->query->setOffset(-1);
 }
Exemplo n.º 2
0
 /**
  * @param \TYPO3\CouchDB\Domain\Index\LuceneIndex $index
  * @param \TYPO3\Flow\Reflection\ReflectionService $reflectionService
  */
 public function __construct(\TYPO3\CouchDB\Domain\Index\LuceneIndex $index, \TYPO3\Flow\Reflection\ReflectionService $reflectionService)
 {
     $this->setIndex($index);
     parent::__construct($index->getIndexName(), $reflectionService);
 }