public function testOffsetExistsInArrayCollection() { $collection = new ArrayCollection(array('first', 'last')); $this->assertTrue($collection->offsetExists(0)); }