public function testSettingInvalidGcMaxlifetimeRaisesException2() { $this->setExpectedException('Zend\\Session\\Exception\\InvalidArgumentException', 'Invalid gc_maxlifetime; must be a positive integer'); $this->config->setGcMaxlifetime(-1); }