/**
* @package business-ops
*
* @internal
*
* @covers \Shopware\Core\Content\Flow\Api\FlowActionCollector
*/
class FlowActionCollectorTest extends TestCase
{ public function testCollect(): void
{ $addCustomerTag =
new AddCustomerTagAction($this->
createMock(EntityRepository::
class));
$removeOrderTag =
new RemoveOrderTagAction($this->
createMock(EntityRepository::
class));
$eventDispatcher =
$this->
createMock(EventDispatcherInterface::
class);
$eventDispatcher->
expects(static::
once())->
method('dispatch'
);
$appFlowActionRepo =
$this->
createMock(EntityRepository::
class);
$entitySearchResult =
$this->
createMock(EntitySearchResult::
class);
$entitySearchResult->
expects(static::
once()) ->
method('getEntities'
) ->
willReturn(new EntityCollection([ (new AppFlowActionEntity())->
assign([