public function testSerializationDeserialization()
{
$obj = new Error(self::getJson());
$this->assertNotNull($obj);
$this->assertNotNull($obj->getName());
$this->assertNotNull($obj->getPurchaseUnitReferenceId());
$this->assertNotNull($obj->getMessage());
$this->assertNotNull($obj->getCode());
$this->assertNotNull($obj->getDetails());
$this->assertNotNull($obj->getProcessorResponse());
$this->assertNotNull($obj->getFmfDetails());
$this->assertNotNull($obj->getInformationLink());
$this->assertNotNull($obj->getDebugId());
$this->assertNotNull($obj->getLinks());
$this->assertEquals(self::getJson(), $obj->toJson());
return $obj;
}