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