Nelmio\SecurityBundle\Tests\Listener\EncryptedCookieListenerTest::setUp PHP Method

setUp() protected method

protected setUp ( )
    protected function setUp()
    {
        parent::setUp();
        if (!function_exists('mcrypt_module_open')) {
            $this->markTestSkipped('MCrypt is not installed');
        }
        $this->encrypter = new Encrypter('secret', 'rijndael-128');
        $this->kernel = $this->getMock('Symfony\\Component\\HttpKernel\\HttpKernelInterface');
    }