/**
  * @test
  * @expectedException InvalidArgumentException
  */
 public function setLimitRejectsIntegersLessThanOne()
 {
     $query = new Tx_Extbase_Persistence_Query('Foo_Class_Name');
     $query->setLimit(0);
 }
Example #2
0
 /**
  * @test
  * @expectedException InvalidArgumentException
  */
 public function setLimitRejectsIntegersLessThanOne()
 {
     $this->query->setLimit(0);
 }