예제 #1
0
 /**
  * @expectedException \Exception
  */
 public function testRoot()
 {
     $f = new Finder();
     $f->setRoot(__DIR__ . '/../resources');
     $expected = realpath(__DIR__ . '/../resources');
     $this->assertEquals($expected, $f->getRoot());
     $f->addPath(__DIR__);
 }