예제 #1
0
 public function testTouchCreatesEmptyFilesFromTraversableObject()
 {
     $basePath = $this->workspace . DIRECTORY_SEPARATOR;
     $files = new \ArrayObject(array($basePath . '1', $basePath . '2', $basePath . '3'));
     $this->filesystem->touch($files);
     $this->assertFileExists($basePath . '1');
     $this->assertFileExists($basePath . '2');
     $this->assertFileExists($basePath . '3');
 }