'text/plain' => 'This is a plain text',
'text/html' => 'This is a html text',
],
$context,
CheckoutOrderPlacedEvent::EVENT_NAME,
);
static::
assertSame([ 'john.doe@example.com' => 'John doe',
'jane.doe@example.com' => 'Jane doe',
],
$event->
getRecipients());
static::
assertSame(Level::Info->value,
$event->
getLogLevel());
static::
assertSame('mail test',
$event->
getSubject());
static::
assertSame([ 'eventName' => CheckoutOrderPlacedEvent::EVENT_NAME,
'subject' => 'mail test',
'recipients' =>
[ 'john.doe@example.com' => 'John doe',
'jane.doe@example.com' => 'Jane doe',
],
'contents' =>
[ 'text/plain' => 'This is a plain text',
'text/html' => 'This is a html text',
],