Exemplo n.º 1
0
 public function testGettersAndSetters()
 {
     $config = new Configuration();
     $this->assertNull($config->getDataDir());
     $config->setDataDir('wheee');
     $this->assertEquals('wheee', $config->getDataDir());
     $this->assertNull($config->getConfigDir());
     $config->setConfigDir('wheee');
     $this->assertEquals('wheee', $config->getConfigDir());
 }