You are here

public function MongoDbSessionHandlerTest::testConstructorShouldThrowExceptionForMissingOptions in Zircon Profile 8.0

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

@expectedException \InvalidArgumentException

File

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

Class

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

Namespace

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

Code

public function testConstructorShouldThrowExceptionForMissingOptions() {
  new MongoDbSessionHandler($this->mongo, array());
}