public function testToList() { $this->coll->addAll([1, 2, 3, 4]); $map = $this->coll->toVector(); $this->assertInstanceOf('\\Collections\\ArrayList', $map); }