public function vfsStreamWrapperMkDirTestCase::mkDirShouldNotOverwriteExistingDirectoriesAndTriggerE_USER_WARNING in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperDirTestCase.php \org\bovigo\vfs\vfsStreamWrapperMkDirTestCase::mkDirShouldNotOverwriteExistingDirectoriesAndTriggerE_USER_WARNING()
@test @group issue_28 @expectedException PHPUnit_Framework_Error @expectedExceptionMessage mkdir(): Path vfs://root/dir exists
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperDirTestCase.php, line 220
Class
- vfsStreamWrapperMkDirTestCase
- Test for org\bovigo\vfs\vfsStreamWrapper around mkdir().
Namespace
org\bovigo\vfsCode
public function mkDirShouldNotOverwriteExistingDirectoriesAndTriggerE_USER_WARNING() {
vfsStream::setup('root');
$dir = vfsStream::url('root/dir');
$this
->assertTrue(mkdir($dir));
$this
->assertFalse(mkdir($dir));
}