Nelmio\SecurityBundle\Tests\Listener\FlexibleSslListenerTest::setUp PHP Метод

setUp() защищенный Метод

protected setUp ( )
    protected function setUp()
    {
        $this->kernel = $this->getMock('Symfony\\Component\\HttpKernel\\HttpKernelInterface');
        $this->dispatcher = $this->getMock('Symfony\\Component\\EventDispatcher\\EventDispatcherInterface');
        $this->listener = new FlexibleSslListener('auth', false, $this->dispatcher);
    }