$controller =
new AuthController( $this->
getContainer()->
get(AccountLoginPageLoader::
class),
$this->
createMock(AbstractSendPasswordRecoveryMailRoute::
class),
$this->
createMock(AbstractResetPasswordRoute::
class),
$this->
createMock(LoginRoute::
class),
$this->
createMock(AbstractLogoutRoute::
class),
$this->
getContainer()->
get(StorefrontCartFacade::
class),
$this->
getContainer()->
get(AccountRecoverPasswordPageLoader::
class),
$this->
getContainer()->
get(SalesChannelContextService::
class) );
$controller->
setContainer($this->
getContainer());
$controller->
setTwig($this->
getContainer()->
get('twig'
));
$request =
$this->
createRequest('frontend.account.guest.login.page',
[ 'redirectTo' => 'frontend.account.order.single.page',
'redirectParameters' =>
['deepLinkCode' => 'example'
],
'loginError' => false,
'waitTime' => 5,
]);
$this->
getContainer()->
get('request_stack'
)->
push($request);
/** @var StorefrontResponse $response */