/** * @dataProvider provideDifferentElements */ public function testGetValues($elements) { $collection = new ArrayCollection($elements); $this->assertSame(array_values($elements), $collection->getValues()); }