use Shopware\Core\System\SalesChannel\SalesChannelContext;
/**
* @internal
*
* @covers \Shopware\Core\Checkout\Customer\Event\DoubleOptInGuestOrderEvent
*/
class DoubleOptInGuestOrderEventTest extends TestCase
{ public function testScalarValuesCorrectly(): void
{ $event =
new DoubleOptInGuestOrderEvent( new CustomerEntity(),
$this->
createMock(SalesChannelContext::
class),
'my-confirm-url'
);
$storer =
new ScalarValuesStorer();
$stored =
$storer->
store($event,
[]);
$flow =
new StorableFlow('foo', Context::
createDefaultContext(),
$stored);