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