You are here

public function MongoDbSessionHandlerTest::testConstructorShouldThrowExceptionForInvalidMongo in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php \Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler\MongoDbSessionHandlerTest::testConstructorShouldThrowExceptionForInvalidMongo()

@expectedException \InvalidArgumentException

File

vendor/symfony/http-foundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php, line 54

Class

MongoDbSessionHandlerTest
@author Markus Bachmann <markus.bachmann@bachi.biz>

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler

Code

public function testConstructorShouldThrowExceptionForInvalidMongo() {
  new MongoDbSessionHandler(new \stdClass(), $this->options);
}