public function take($num) { return $this->slice(0, $num - 1); }
/** * @expectedException Collections\Exceptions\InvalidArgumentException */ public function test_take_too_many_throws_ex() { $this->col->take(100); }