public function testSettingInvalidHashBitsPerCharacterRaisesException() { $this->setExpectedException('Zend\\Session\\Exception\\InvalidArgumentException', 'Invalid hash bits per character provided'); $this->config->setHashBitsPerCharacter('foobar_bogus'); }