org\bovigo\vfs\vfsStreamWrapperMkDirTestCase::canNotIterateOverNonReadableDirectory PHP Method

canNotIterateOverNonReadableDirectory() public method

    public function canNotIterateOverNonReadableDirectory()
    {
        vfsStreamWrapper::register();
        vfsStreamWrapper::setRoot(new vfsStreamDirectory('root', 00));
        $this->assertFalse(@opendir(vfsStream::url('root')));
        $this->assertFalse(@dir(vfsStream::url('root')));
    }