no directory to open * * @test */ public function canNotOpenDirectory() { $this->assertFalse(@dir(vfsStream::url('foo'))); } /** * can not unlink without root * * @test */ public function canNotUnlink() { $this->assertFalse(@unlink(vfsStream::url('foo'))); } /** * can not open a file without root * * @test */ public function canNotOpen() { $this->assertFalse(@fopen(vfsStream::url('foo'), 'r')); } /** * can not rename a file without root * * @test */ public function canNotRename() { $this->assertFalse(@rename(vfsStream::url('foo'), vfsStream::url('bar'))); } }