public function testKeyInArrayCollection() { $collection = new ArrayCollection(array('first', 'last')); $this->assertEquals(0, $collection->key()); }