コード例 #1
0
 public function testTake()
 {
     $this->coll->add(1)->add(2)->add(3);
     $this->assertSame([1, 2], $this->coll->take(2)->toArray());
 }