4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy;
14 use PHPUnit\Framework\TestCase;
15 use Symfony\Component\HttpFoundation\Session\Storage\Proxy\NativeProxy;
18 * Test class for NativeProxy.
20 * @author Drak <drak@zikula.org>
22 class NativeProxyTest extends TestCase
24 public function testIsWrapper()
26 $proxy = new NativeProxy();
27 $this->assertFalse($proxy->isWrapper());
30 public function testGetSaveHandlerName()
32 $name = ini_get('session.save_handler');
33 $proxy = new NativeProxy();
34 $this->assertEquals($name, $proxy->getSaveHandlerName());