AppFlowEventEntity example

class TriggerFlowControllerTest extends TestCase
{
    private TriggerFlowController $triggerFlowController;

    /** * @var StaticEntityRepository<AppFlowEventCollection> */
    private StaticEntityRepository $appFlowEventRepository;

    protected function setUp(): void
    {
        $appFlowEvent = new AppFlowEventEntity();
        $appFlowEvent->setUniqueIdentifier(Uuid::randomHex());
        $appFlowEvent->setAware(['customerId']);
        $appFlowEvent->setName('custom.checkout.event');

        $this->appFlowEventRepository = new StaticEntityRepository([
            new EntitySearchResult(
                'app_flow_event',
                1,
                new AppFlowEventCollection([$appFlowEvent]),
                null,
                new Criteria(),
                
Home | Imprint | This part of the site doesn't use cookies.