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

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

mkdir() should not overwrite existing root
    public function mkdirNoNewRootRecursively()
    {
        $this->assertFalse(mkdir(vfsStream::url('another/more'), 0777, true));
        $this->assertEquals(2, count($this->foo->getChildren()));
        $this->assertSame($this->foo, vfsStreamWrapper::getRoot());
    }