public function cannotRenameToNonWritableDir() { $this->bar->chmod(0); $this->assertFalse(@rename($this->baz2URL, vfsStream::url('foo/bar/baz3'))); }