convert() public method

Convert a graphml file describing a workflow into an array suitable to create a workflow object.
public convert ( string $graphmlFile )
$graphmlFile string the path to the graphml file to process
 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);
     });
 }