public function testErrorMultipleExensions() { try { $config = new Zend_Config_Ini($this->_iniFileMultipleInheritanceConfig, 'three'); zend::dump($config); $this->fail('An expected Zend_Config_Exception has not been raised'); } catch (Zend_Config_Exception $expected) { $this->assertContains('may not extend multiple sections', $expected->getMessage()); } }
public function testErrorMultipleExensions() { $this->setExpectedException('Zend\Config\Exception\RuntimeException', 'may not extend multiple sections'); $config = new Ini($this->_iniFileMultipleInheritanceConfig, 'three'); zend::dump($config); }