Пример #1
0
 /**
  * Tests setting configuration source
  *
  * @return void
  */
 public function testGetSetSource()
 {
     echo $this->object->getSource();
     $this->assertEmpty($this->object->getSource(), "Source is null by default");
     $this->object->setSource("config.sample.inc.php");
     $this->assertEquals("config.sample.inc.php", $this->object->getSource(), "Cant set new source");
 }