'url' => 'https://test.com',
],
], Context::
createDefaultContext());
$this->
appendNewResponse(new Response(200
));
$event =
new CustomerBeforeLoginEvent( $this->
getContainer()->
get(SalesChannelContextFactory::
class)->
create(Uuid::
randomHex(), TestDefaults::SALES_CHANNEL
),
'test@example.com'
);
$webhookDispatcher =
new WebhookDispatcher( $this->
getContainer()->
get('event_dispatcher'
),
$this->
getContainer()->
get(Connection::
class),
$this->
getContainer()->
get('shopware.app_system.guzzle'
),
$this->shopUrl,
$this->
getContainer(),
$this->
getContainer()->
get(HookableEventFactory::
class),
Kernel::SHOPWARE_FALLBACK_VERSION,
$this->bus,
true
);