public function testSerializationDeserialization()
{
$obj = new PaymentTerm(self::getJson());
$this->assertNotNull($obj);
$this->assertNotNull($obj->getTermType());
$this->assertNotNull($obj->getDueDate());
$this->assertEquals(self::getJson(), $obj->toJson());
return $obj;
}