public function testGc() { $this->mock->expects($this->once()) ->method('gc'); $this->proxy->gc(86400); }
/** * {@inheritdoc} */ public function __construct(\SessionHandlerInterface $handler) { parent::__construct($handler); $this->saveHandlerName = 'user'; $this->_sessionName = ini_get('session.name'); }