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