protected function assertProcess($expected, $current, $file = 'example.file')
 {
     $this->fileSystem->setContent($file, $current);
     $this->assertEquals($expected, $this->target->process($file));
 }
示例#2
0
 /**
  * @test
  */
 public function getEntry_success()
 {
     $key = '/path/file.txt';
     $this->fileSystem->setContent($this->target->getFilePath($key), 'content');
     $this->assertEquals('content', $this->target->getEntry($key));
 }