org\bovigo\vfs\vfsStreamWrapperMkDirTestCase::mkdirRecursivelyUsesDefaultPermissions PHP Метод

mkdirRecursivelyUsesDefaultPermissions() публичный Метод

assert that mkdir() creates the correct directory structure
    public function mkdirRecursivelyUsesDefaultPermissions()
    {
        $this->foo->chmod(0700);
        $this->assertTrue(mkdir($this->fooURL . '/another/more', 0777, true));
        $this->assertEquals(3, count($this->foo->getChildren()));
        $another = $this->foo->getChild('another');
        $this->assertTrue($another->hasChild('more'));
        $this->assertEquals(0777, $this->foo->getChild('another')->getPermissions());
        $this->assertEquals(0777, $this->foo->getChild('another')->getChild('more')->getPermissions());
    }