/** * @expectedException Collections\Exceptions\InvalidArgumentException */ public function test_take_too_many_throws_ex() { $this->col->take(100); }