/** * @test */ public function valuesで添字のキーをリセットする() { $expected = [0 => ['foo' => 1], 1 => ['bar' => 2]]; $data = [10 => ['foo' => 1], 11 => ['bar' => 2]]; $collection = new Collection($data); $actual = $collection->values()->all(); $this->assertEquals($expected, $actual); }