/** * @test */ public function setResetAutoIncrementThresholdForMinus1Fails() { $this->setExpectedException('InvalidArgumentException', '$threshold must be > 0.'); $this->subject->setResetAutoIncrementThreshold(-1); }