You are here

public function vfsStreamDirectoryTestCase::invalidCharacterInName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamDirectoryTestCase.php \org\bovigo\vfs\vfsStreamDirectoryTestCase::invalidCharacterInName()

assure that a directory seperator inside the name throws an exception

@test @expectedException org\bovigo\vfs\vfsStreamException

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamDirectoryTestCase.php, line 37

Class

vfsStreamDirectoryTestCase
Test for org\bovigo\vfs\vfsStreamDirectory.

Namespace

org\bovigo\vfs

Code

public function invalidCharacterInName() {
  $dir = new vfsStreamDirectory('foo/bar');
}