public function testContainsKeyInArrayCollection() { $collection = new ArrayCollection(array('first')); $this->assertTrue($collection->containsKey(0)); }