/** * @see Cosma\SimpleStateMachine\AbstractGraphic::addLegend * * @expectedException \InvalidArgumentException */ public function testAddLegend_EmptyLegendException() { $graphic = new Graphic(); $graphic->addLegend('', array()); }