'app.action',
];
} public function testExecuteIfWithRuleEvaluation(): void
{ $eventDispatcher =
$this->
createMock(EventDispatcherInterface::
class);
$appFlowActionProvider =
$this->
createMock(AppFlowActionProvider::
class);
$ruleLoader =
$this->
createMock(AbstractRuleLoader::
class);
$scopeBuilder =
$this->
createMock(FlowRuleScopeBuilder::
class);
$trueCaseSequence =
new Sequence();
$trueCaseSequence->
assign(['sequenceId' => 'foobar'
]);
$ruleId = Uuid::
randomHex();
$ifSequence =
new IfSequence();
$ifSequence->
assign(['ruleId' =>
$ruleId, 'trueCase' =>
$trueCaseSequence]);
$order =
new OrderEntity();
$tagId = Uuid::
randomHex();
$tag =
new TagEntity();
$tag->
setId($tagId);
$order->
setTags(new TagCollection([$tag]));