public function PdoSessionHandlerTest::testGetConnection in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/Session/Storage/Handler/PdoSessionHandlerTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\PdoSessionHandlerTest::testGetConnection()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Handler/ PdoSessionHandlerTest.php, line 294
Class
Namespace
Symfony\Component\HttpFoundation\Tests\Session\Storage\HandlerCode
public function testGetConnection() {
$storage = new PdoSessionHandler($this
->getMemorySqlitePdo());
$method = new \ReflectionMethod($storage, 'getConnection');
$method
->setAccessible(true);
$this
->assertInstanceOf('\\PDO', $method
->invoke($storage));
}