public function testZF414() { $config = new Xml($this->_xmlFileAllSectionsConfig, null); $this->assertEquals(null, $config->getSectionName()); $this->assertEquals(true, $config->areAllSectionsLoaded()); $config = new Xml($this->_xmlFileAllSectionsConfig, 'all'); $this->assertEquals('all', $config->getSectionName()); $this->assertEquals(false, $config->areAllSectionsLoaded()); $config = new Xml($this->_xmlFileAllSectionsConfig, array('staging', 'other_staging')); $this->assertEquals(array('staging', 'other_staging'), $config->getSectionName()); $this->assertEquals(false, $config->areAllSectionsLoaded()); }