static::
assertSame(Level::Info->value,
$event->
getLogLevel());
static::
assertSame('mail.before.send',
$event->
getName());
static::
assertSame($context,
$event->
getContext());
static::
assertSame([ 'customerId' =>
$customerId,
],
$event->
getData());
static::
assertSame([ 'user' => 'admin',
'recoveryUrl' => 'http://some-url.com',
'resetUrl' => 'http://some-url.com',
'eventName' => CheckoutOrderPlacedEvent::EVENT_NAME,
],
$event->
getTemplateData());
static::
assertSame([ 'data' =>
[ 'customerId' =>
$customerId,
],
'eventName' => CheckoutOrderPlacedEvent::EVENT_NAME,
'templateData' =>
[ 'user' => 'admin',
'recoveryUrl' => 'http://some-url.com',
'resetUrl' => 'http://some-url.com',
'eventName' => CheckoutOrderPlacedEvent::EVENT_NAME,
],
],