Пример #1
0
 /**
  * When created with the first param as a path, then the finder will
  * create absolute paths for any paths below the root path. The absolute
  * path will still include base path.
  *
  * @test
  * @depends	ensureInterfaceIsImplemented
  * @return FileFinder
  */
 public function defaultFinderWithRootPath()
 {
     $root = 'test/resource/testfuel';
     $finder = new FileFinder($root);
     $this->assertTrue($finder->isBasePath());
     $this->assertEquals(AF_BASE_PATH, $finder->getBasePath());
     $this->assertEquals($root, $finder->getRootPath());
     return $finder;
 }