$flowActions = Action::
createFromXmlFile(__DIR__ .
$flowActionsFile);
static::
assertNotNull($flowActions->
getActions());
static::
assertCount(1,
$flowActions->
getActions()->
getActions());
$firstAction =
$flowActions->
getActions()->
getActions()[0
];
$meta =
$firstAction->
getMeta();
static::
assertEquals('abc.cde.ccc',
$meta->
getName());
static::
assertEquals(['order', 'customer'
],
$meta->
getRequirements());
static::
assertEquals('https://example.xyz',
$meta->
getUrl());
static::
assertEquals('sw-pencil',
$meta->
getSwIcon());
static::
assertEquals('resource/pencil',
$meta->
getIcon());
static::
assertEquals( [ 'en-GB' => 'First action app',
'de-DE' => 'First action app DE',
],
$firstAction->
getMeta()->
getLabel() );
static::
assertEquals( [ 'en-GB' => 'First action app description',