public function testAllDirectories() { $this->root->addChild(new vfsStreamDirectory('tmp')); $this->root->addChild(new vfsStreamDirectory('tmp2')); $arr = $this->files->allDirectories($this->root->url()); $this->assertInstanceOf(SplFileInfo::class, $arr[0]); }
public function tearDown() { $this->files->deleteDirectory(__DIR__ . '/stubs'); }