public function testSerializationDeserialization()
{
$obj = new AgreementTransaction(self::getJson());
$this->assertNotNull($obj);
$this->assertNotNull($obj->getTransactionId());
$this->assertNotNull($obj->getStatus());
$this->assertNotNull($obj->getTransactionType());
$this->assertNotNull($obj->getAmount());
$this->assertNotNull($obj->getFeeAmount());
$this->assertNotNull($obj->getNetAmount());
$this->assertNotNull($obj->getPayerEmail());
$this->assertNotNull($obj->getPayerName());
$this->assertNotNull($obj->getTimeStamp());
$this->assertNotNull($obj->getTimeZone());
$this->assertEquals(self::getJson(), $obj->toJson());
return $obj;
}