class NativeProxyTest

Test class for NativeProxy.

@author Drak <drak@zikula.org>

Hierarchy

  • class \Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy\NativeProxyTest extends \Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy\PHPUnit_Framework_TestCase

Expanded class hierarchy of NativeProxyTest

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Storage/Proxy/NativeProxyTest.php, line 21

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy
View source
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());
  }

}

Members