public function shouldLoadTransitionsFromFile()
{
$machine = new StateMachine(new Context(new Identifier('yaml-test', 'test-machine')));
$this->assertCount(0, $machine->getTransitions());
//this is a symbolic link to the assets/yaml/example.yaml file
$loader = YAML::createFromFile(__DIR__ . '/fixture-example.yaml');
$count = $loader->load($machine);
$this->assertCount(4, $machine->getTransitions(), 'there is a regex transition that adds 2 transitions (a-c and b-c)');
$this->assertEquals(4, $count);
//echo $machine->toString(true);
}