/** * Test setConflictDescriptionLegend */ public function testSetConflictDescriptionLegendInvalidValue() { $this->setExpectedException('Exception'); $instance = new GanttChart(); $if = $instance->setConflictDescriptionLegend(1212); $this->assertInstanceOf('\\Exception', $if); }