public function vfsStreamTestCase::copyFromEmptyFolder in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamTestCase.php \org\bovigo\vfs\vfsStreamTestCase::copyFromEmptyFolder()
@test @group issue_4 @since 0.11.0
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamTestCase.php, line 605
Class
- vfsStreamTestCase
- Test for org\bovigo\vfs\vfsStream.
Namespace
org\bovigo\vfsCode
public function copyFromEmptyFolder() {
$baseDir = vfsStream::copyFromFileSystem($this
->getFileSystemCopyDir() . '/emptyFolder', vfsStream::newDirectory('test'));
$baseDir
->removeChild('.gitignore');
$this
->assertFalse($baseDir
->hasChildren());
}