<?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.
*/namespaceSymfony\Component\HttpFoundation\Tests\Session\Storage\Proxy;
useSymfony\Component\HttpFoundation\Session\Storage\Proxy\NativeProxy;
/**
* Test class for NativeProxy.
*
* @author Drak <drak@zikula.org>
*/class NativeProxyTestextends \PHPUnit_Framework_TestCase {
public functiontestIsWrapper() {
$proxy = newNativeProxy();
$this
->assertFalse($proxy
->isWrapper());
}
public functiontestGetSaveHandlerName() {
$name = ini_get('session.save_handler');
$proxy = newNativeProxy();
$this
->assertEquals($name, $proxy
->getSaveHandlerName());
}
}