コード例 #1
0
ファイル: FilesystemTest.php プロジェクト: viserio/filesystem
 public function testDeleteRemovesFiles()
 {
     $file = vfsStream::newFile('unlucky.txt')->withContent('So sad')->at($this->root);
     $this->assertTrue($this->files->has($file->url()));
     $this->files->delete([$file->url()]);
     $this->assertFalse($this->files->has($file->url()));
 }