public function testSettingInvalidEntropyLengthRaisesException2() { $this->setExpectedException('Zend\\Session\\Exception\\InvalidArgumentException', 'Invalid entropy_length; must be a positive integer or zero'); $this->config->setEntropyLength(-1); }