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

rmdirCanRemoveEmptyRoot() public method

rmdir() can remove empty directories
    public function rmdirCanRemoveEmptyRoot()
    {
        $this->foo->removeChild('bar');
        $this->foo->removeChild('baz2');
        $this->assertTrue(rmdir($this->fooURL));
        $this->assertFalse(file_exists($this->fooURL));
        // make sure statcache was cleared
        $this->assertNull(vfsStreamWrapper::getRoot());
    }