/** * Tests the unserialize method for an expected exception. * * @return void * * @since 12.1 * @expectedException UnexpectedValueException */ public function testUnserialise_exception() { $this->_instance->unserialize('s:7:"default";'); }