use Shopware\Core\Framework\Context;
/**
* @internal
*
* @covers \Shopware\Core\Content\MailTemplate\Service\Event\MailSentEvent
*/
class MailSentEventTest extends TestCase
{ public function testScalarValuesCorrectly(): void
{ $event =
new MailSentEvent( 'my-subject',
['foo' => 'bar'
],
['mixed' => 'content'
],
Context::
createDefaultContext() );
$storer =
new ScalarValuesStorer();
$stored =
$storer->
store($event,
[]);
$flow =
new StorableFlow('foo', Context::
createDefaultContext(),
$stored);