public function testParseFail4() { $this->specify('convertion fails when more then one workflow (graph) is defined', function () { $this->setExpectedException('raoul2000\\workflow\\base\\WorkflowException', "more than one workflow found"); $l = new GraphmlLoader(); $filename = Yii::getAlias('@tests/codeception/unit/models/workflow-04.graphml'); $l->convert($filename); }); }