Example #1
0
 /**
  * @covers Config::write
  * @todo   Implement testWrite().
  */
 public function testWrite()
 {
     $config = array('app_key' => 'appkeyvalue', 'user_key' => 'userkeyvalue');
     $this->object->setConfig($config);
     echo getcwd();
     $this->object->setFileName('data/testOutputFile.ini');
     $this->object->write();
     $this->assertEquals($config, $this->object->read());
     unlink($this->object->getFileName());
 }