$vec->add($i)); $this->assertSame([1, 2, 3], $vec->toArray()); } }