You are here

NativeProxyTest.php in Zircon Profile 8.0

File

vendor/symfony/http-foundation/Tests/Session/Storage/Proxy/NativeProxyTest.php
View source
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy;

use Symfony\Component\HttpFoundation\Session\Storage\Proxy\NativeProxy;

/**
 * Test class for NativeProxy.
 *
 * @author Drak <drak@zikula.org>
 */
class NativeProxyTest extends \PHPUnit_Framework_TestCase {
  public function testIsWrapper() {
    $proxy = new NativeProxy();
    $this
      ->assertFalse($proxy
      ->isWrapper());
  }
  public function testGetSaveHandlerName() {
    $name = ini_get('session.save_handler');
    $proxy = new NativeProxy();
    $this
      ->assertEquals($name, $proxy
      ->getSaveHandlerName());
  }

}

Classes

Namesort descending Description
NativeProxyTest Test class for NativeProxy.