public function testUnserialzeInvalid() { $value = 'not a serialized string'; $this->setExpectedException('Zend\\Serializer\\Exception\\RuntimeException', "Invalid or unknown opcode 'n'"); $this->adapter->unserialize($value); }