public function testConfigurationFileIsWrite() { $originalConfig = array('a' => array(0 => 'b', array('c', 'd', 1), 123456), 'b' => true); $configDumper = new ConfigurationDumper(new ConfigCache($this->configFile, true)); $configDumper->dump($originalConfig); require $this->configFile; $this->assertEquals($originalConfig, $config); }
private function loadFreshConfig($configDir) { $parser = $this->getParser($configDir); $dumper = new ConfigurationDumper($this->configCache); $dumper->dump($parser->getConfig(), $parser->getResources()); }