You are here

private function LocaleListenerTest::getEvent in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/EventListener/LocaleListenerTest.php \Symfony\Component\HttpKernel\Tests\EventListener\LocaleListenerTest::getEvent()
4 calls to LocaleListenerTest::getEvent()
LocaleListenerTest::testDefaultLocaleWithoutSession in vendor/symfony/http-kernel/Tests/EventListener/LocaleListenerTest.php
LocaleListenerTest::testLocaleFromRequestAttribute in vendor/symfony/http-kernel/Tests/EventListener/LocaleListenerTest.php
LocaleListenerTest::testLocaleSetForRoutingContext in vendor/symfony/http-kernel/Tests/EventListener/LocaleListenerTest.php
LocaleListenerTest::testRequestLocaleIsNotOverridden in vendor/symfony/http-kernel/Tests/EventListener/LocaleListenerTest.php

File

vendor/symfony/http-kernel/Tests/EventListener/LocaleListenerTest.php, line 99

Class

LocaleListenerTest

Namespace

Symfony\Component\HttpKernel\Tests\EventListener

Code

private function getEvent(Request $request) {
  return new GetResponseEvent($this
    ->getMock('Symfony\\Component\\HttpKernel\\HttpKernelInterface'), $request, HttpKernelInterface::MASTER_REQUEST);
}