You are here

public function ArrayCollectionTest::testGetValues in Plug 7

@dataProvider provideDifferentElements

File

lib/doctrine/collections/tests/Doctrine/Tests/Common/Collections/ArrayCollectionTest.php, line 124

Class

ArrayCollectionTest
Tests for { @covers \Doctrine\Common\Collections\ArrayCollection

Namespace

Doctrine\Tests\Common\Collections

Code

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