/** * @test * @group adapter-highlight * @group adapter **/ public function 指定ファイルの内容をハイライト表示する() { $this->sf->setFilePath(ROOT . '/data/Adapter/SampleData.txt'); $this->sf->showHighlight(); $result = file_get_contents(ROOT . '/data/Adapter/HighLightResult.html'); $this->expectOutputString($result); }
/** * @param string * @return void **/ public function setFilePath($file_path) { $this->sf->setFilePath($file_path); }