Exemplo n.º 1
0
 public function testGetFilesSet()
 {
     touch('test.php');
     $this->setConfig(array('files' => array('test.php')));
     foreach ($this->config->getFiles() as $file) {
         /** @var $file SplFileInfo */
         $this->assertEquals('test.php', $file->getBasename());
     }
 }