/**
* @param array<string, mixed> $existedData
* @param array<string, mixed> $updateData
* @param array<string, mixed> $expectData
*
* @dataProvider createDataProvider
*/
public function testAddAffiliateAndCampaignCodeForCustomer(array
$existedData, array
$updateData, array
$expectData): void
{ $email = 'thuy@gmail.com';
$this->
prepareCustomer($email,
$existedData);
$sequenceId = Uuid::
randomHex();
$this->flowRepository->
create([[ 'name' => 'Customer login',
'eventName' => CustomerLoginEvent::EVENT_NAME,
'priority' => 1,
'active' => true,
'sequences' =>
[ [ 'id' =>
$sequenceId,
'parentId' => null,