Open Journal Systems  3.3.0
NativeSessionHandlerTest.php
1 <?php
2 
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
13 
14 use PHPUnit\Framework\TestCase;
16 
25 class NativeSessionHandlerTest extends TestCase
26 {
27  public function testConstruct()
28  {
29  $handler = new NativeSessionHandler();
30 
31  $this->assertTrue($handler instanceof \SessionHandler);
32  $this->assertTrue($handler instanceof NativeSessionHandler);
33  }
34 }
Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\NativeSessionHandlerTest
Definition: NativeSessionHandlerTest.php:25
Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeSessionHandler
Definition: NativeSessionHandler.php:19
Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\NativeSessionHandlerTest\testConstruct
testConstruct()
Definition: NativeSessionHandlerTest.php:27
Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler
Definition: MemcachedSessionHandlerTest.php:12