You are here

public function vfsStreamWrapperTestCase::renameOnDestinationDirectoryFileNotFound in Zircon Profile 8

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

assert that trying to rename to a directory that is not found trigger a warning

@expectedException PHPUnit_Framework_Error @test

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php, line 482

Class

vfsStreamWrapperTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function renameOnDestinationDirectoryFileNotFound() {
  rename($this->baz1URL, vfsStream::url('foo/notfound/file2'));
}