use Symfony\Component\Workflow\Transition;
class MermaidDumperTest extends TestCase
{ use WorkflowBuilderTrait;
/**
* @dataProvider provideWorkflowDefinitionWithoutMarking
*/
public function testDumpWithoutMarking(Definition
$definition, string
$expected) { $dumper =
new MermaidDumper(MermaidDumper::TRANSITION_TYPE_WORKFLOW
);
$dump =
$dumper->
dump($definition);
$this->
assertEquals($expected,
$dump);
} /**
* @dataProvider provideWorkflowWithReservedWords
*/
public function testDumpWithReservedWordsAsPlacenames(Definition
$definition, string
$expected) {