/** * Test case method */ public function testArrayCollectionGet() { $collection = new Enlight_Collection_ArrayCollection(array('key_one' => 'wert1', 'key_two' => 'wert2')); $this->assertEquals('wert1', $collection->key_one); $this->assertEquals('wert1', $collection->getKeyOne()); $this->assertEquals('wert1', $collection->get('key_one')); }