Esempio n. 1
0
 public function testDump()
 {
     ForgeConfig::loadFromFile(dirname(__FILE__) . '/_fixtures/config/local.inc');
     ob_start();
     ForgeConfig::dump();
     $dump = ob_get_contents();
     ob_end_clean();
     $this->assertEqual($dump, var_export(array('toto' => 66, 'tutu' => 123), 1));
 }