public function testSerializationDeserialization()
{
$obj = new InstallmentOption(self::getJson());
$this->assertNotNull($obj);
$this->assertNotNull($obj->getTerm());
$this->assertNotNull($obj->getMonthlyPayment());
$this->assertNotNull($obj->getDiscountAmount());
$this->assertNotNull($obj->getDiscountPercentage());
$this->assertEquals(self::getJson(), $obj->toJson());
return $obj;
}