You are here

public function vfsStreamDirectoryTestCase::renameToInvalidNameThrowsvfsStreamException 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::renameToInvalidNameThrowsvfsStreamException()

renaming the directory to an invalid name throws a vfsStreamException

@test @expectedException org\bovigo\vfs\vfsStreamException

File

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

Class

vfsStreamDirectoryTestCase
Test for org\bovigo\vfs\vfsStreamDirectory.

Namespace

org\bovigo\vfs

Code

public function renameToInvalidNameThrowsvfsStreamException() {
  $this->dir
    ->rename('foo/baz');
}