public function testSettingInvalidSaveHandlerRaisesException() { $this->setExpectedException('Zend\\Session\\Exception\\InvalidArgumentException', 'Invalid save handler specified'); $this->config->setPhpSaveHandler('foobar_bogus'); }