$this->
assertEmpty($_SESSION);
$this->
assertEmpty(session_id());
$this->
assertSame(\PHP_SESSION_NONE,
session_status());
} private function createListener(Request
$request, SessionStorageFactoryInterface
$sessionFactory) { $requestStack =
new RequestStack();
$request =
new Request();
$requestStack->
push($request);
$sessionFactory =
new SessionFactory($requestStack,
$sessionFactory);
$container =
new Container();
$container->
set('request_stack',
$requestStack);
$container->
set('session_factory',
$sessionFactory);
$listener =
new SessionListener($container);
return new SessionListener($container);
} private function createValidSessionId(): string
{