/** * @Given I render the chart of type :chart */ public function iRenderTheChartOfType(Image $chart) { $chart->Render($this->getFilePath("example.png")); }