public function vfsStreamTestCase::setupRegistersStreamWrapperAndCreatesRootDirectoryWithDefaultNameAndPermissions 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::setupRegistersStreamWrapperAndCreatesRootDirectoryWithDefaultNameAndPermissions()
@test @group setup @since 0.7.0
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamTestCase.php, line 213
Class
- vfsStreamTestCase
- Test for org\bovigo\vfs\vfsStream.
Namespace
org\bovigo\vfsCode
public function setupRegistersStreamWrapperAndCreatesRootDirectoryWithDefaultNameAndPermissions() {
$root = vfsStream::setup();
$this
->assertSame($root, vfsStreamWrapper::getRoot());
$this
->assertEquals('root', $root
->getName());
$this
->assertEquals(0777, $root
->getPermissions());
}