protected function setUp() {
if (null === self::$mongo) {
$this
->markTestSkipped('MongoDbSessionHandler requires the php "mongo" extension and a mongodb server on localhost');
}
$this->options = array(
'database' => 'sf2-test',
'collection' => 'session-test',
);
$this->options = array(
'database' => 'sf2-test',
'collection' => 'session-test',
);
$this->storage = new MongoDbSessionHandler(self::$mongo, $this->options);
}