public function testSettingInvalidCacheLimiterRaisesException() { $this->setExpectedException('Zend\\Session\\Exception\\InvalidArgumentException', 'Invalid cache limiter provided'); $this->config->setCacheLimiter('foobar_bogus'); }