/** * @test * @expectedException \InvalidArgumentException */ public function setLimitRejectsIntegersLessThanOne() { $this->query->setLimit(0); }