public function vfsStreamWrapperMkDirTestCase::mkDirShouldNotOverwriteExistingFiles 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::mkDirShouldNotOverwriteExistingFiles()
@test @group issue_28
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperDirTestCase.php, line 232
Class
- vfsStreamWrapperMkDirTestCase
- Test for org\bovigo\vfs\vfsStreamWrapper around mkdir().
Namespace
org\bovigo\vfsCode
public function mkDirShouldNotOverwriteExistingFiles() {
$root = vfsStream::setup('root');
vfsStream::newFile('test.txt')
->at($root);
$this
->assertFalse(@mkdir(vfsStream::url('root/test.txt')));
}