public function vfsStreamTestCase::setupWithEmptyArrayIsEqualToSetup in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamTestCase.php \org\bovigo\vfs\vfsStreamTestCase::setupWithEmptyArrayIsEqualToSetup()
@test @group issue_14 @group issue_20 @since 0.10.0
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamTestCase.php, line 253
Class
- vfsStreamTestCase
- Test for org\bovigo\vfs\vfsStream.
Namespace
org\bovigo\vfsCode
public function setupWithEmptyArrayIsEqualToSetup() {
$root = vfsStream::setup('example', 0755, array());
$this
->assertEquals('example', $root
->getName());
$this
->assertEquals(0755, $root
->getPermissions());
$this
->assertFalse($root
->hasChildren());
}