/** * @see Cosma\SimpleStateMachine\AbstractGraphic::addState * * @expectedException \InvalidArgumentException */ public function testAddState_EmptyLabelException() { $graphic = new Graphic(); $graphic->addState('Cosma\\SimpleStateMachine\\Tests\\Example\\States\\EmptyLabelState', '', array()); }