/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage The number must be greater than 0, but got -5. */ public function testDropWithNegativeIndex() { $this->seq->drop(-5); }