'recipients' =>
[ 'email' => 'firstName lastName',
],
'salesChannelId' => TestDefaults::SALES_CHANNEL,
'templateId' =>
$mailTemplateId,
'customFields' => null,
'contentHtml' => null,
'contentPlain' => null,
'subject' => null,
'mediaIds' =>
[],
'senderName' => null,
'attachmentsConfig' =>
new MailAttachmentsConfig( Context::
createDefaultContext(),
$this->mailTemplate,
new MailSendSubscriberConfig(false,
[],
[]),
$config,
$orderId ),
],
'context' => Context::
createDefaultContext(),
];
$templateData =
new MailRecipientStruct($expected['data'
]['recipients'
]);