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

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

    public function alwaysResolvesRootDirectoryAsOwnParentWithDoubleDot()
    {
        vfsStreamWrapper::getRoot()->chown(vfsStream::OWNER_USER_1);
        $this->assertTrue(is_dir(vfsStream::url('foo/..')));
        $stat = stat(vfsStream::url('foo/..'));
        $this->assertEquals(vfsStream::OWNER_USER_1, $stat['uid']);
    }