/** * Test setDataLegend */ public function testSetDataLegend() { $instance = new GanttChart('pt_BR'); $if = $instance->setDataLegend($this->loadArrayDataLegend()); $this->assertInstanceOf('GanttChart\\GanttChart', $if); }