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