public function testSerializationDeserialization()
{
$obj = new CustomAmount(self::getJson());
$this->assertNotNull($obj);
$this->assertNotNull($obj->getLabel());
$this->assertNotNull($obj->getAmount());
$this->assertEquals(self::getJson(), $obj->toJson());
return $obj;
}