/**
* @param array<string, mixed> $config
* @param array<string, mixed> $existsData
* @param array<string, mixed> $expected
*
* @dataProvider actionExecutedProvider
*/
public function testExecutedAction(array
$config, array
$existsData, array
$expected): void
{ $customerGroup =
new CustomerGroupEntity();
$customerGroup->
setCustomFields($existsData);
$context = Context::
createDefaultContext();
$customerGroupId = Uuid::
randomHex();
$flow =
new StorableFlow('',
$context,
[],
[CustomerGroupAware::CUSTOMER_GROUP_ID =>
$customerGroupId]);
$flow->
setConfig($config);
$this->entitySearchResult->
expects(static::
once()) ->
method('first'
) ->
willReturn($customerGroup);
$this->repository->
expects(static::
once())