Overview

Namespaces

  • Composer
    • Autoload
  • Guzzle
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Mock
    • Stream
  • Mockery
    • Adapter
      • Phpunit
    • CountValidator
    • Exception
    • Generator
      • StringManipulation
        • Pass
    • Loader
    • Matcher
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • Fatzebra
      • Message
  • PHP
  • Symfony
    • Component
      • EventDispatcher
        • Debug
        • DependencyInjection
        • Tests
          • Debug
          • DependencyInjection
      • HttpFoundation
        • File
          • Exception
          • MimeType
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
        • Tests
          • File
            • MimeType
          • Session
            • Attribute
            • Flash
            • Storage
              • Handler
              • Proxy
      • Yaml
        • Exception
        • Tests

Classes

  • Symfony\Component\Yaml\Tests\A
  • Symfony\Component\Yaml\Tests\B
  • Symfony\Component\Yaml\Tests\DumperTest
  • Symfony\Component\Yaml\Tests\InlineTest
  • Symfony\Component\Yaml\Tests\ParseExceptionTest
  • Symfony\Component\Yaml\Tests\ParserTest
  • Symfony\Component\Yaml\Tests\YamlTest
  • Overview
  • Namespace
  • Function
  • Tree
 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: 
12: namespace Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler;
13: 
14: use Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeSessionHandler;
15: 
16: /**
17:  * Test class for NativeSessionHandler.
18:  *
19:  * @author Drak <drak@zikula.org>
20:  *
21:  * @runTestsInSeparateProcesses
22:  * @preserveGlobalState disabled
23:  */
24: class NativeSessionHandlerTest extends \PHPUnit_Framework_TestCase
25: {
26:     public function testConstruct()
27:     {
28:         $handler = new NativeSessionHandler();
29: 
30:         // note for PHPUnit optimisers - the use of assertTrue/False
31:         // here is deliberate since the tests do not require the classes to exist - drak
32:         if (PHP_VERSION_ID < 50400) {
33:             $this->assertFalse($handler instanceof \SessionHandler);
34:             $this->assertTrue($handler instanceof NativeSessionHandler);
35:         } else {
36:             $this->assertTrue($handler instanceof \SessionHandler);
37:             $this->assertTrue($handler instanceof NativeSessionHandler);
38:         }
39:     }
40: }
41: 
Omnipay Fat Zebra / Paystream Gateway Module API Documentation API documentation generated by ApiGen