public function testGetElementInArrayCollection() { $collection = new ArrayCollection(array('first', 'last')); $this->assertEquals('first', $collection->get(0)); $this->assertNull($collection->get(2)); }