public function testSerializationDeserialization()
{
$obj = new Details(self::getJson());
$this->assertNotNull($obj);
$this->assertNotNull($obj->getSubtotal());
$this->assertNotNull($obj->getShipping());
$this->assertNotNull($obj->getTax());
$this->assertNotNull($obj->getHandlingFee());
$this->assertNotNull($obj->getShippingDiscount());
$this->assertNotNull($obj->getInsurance());
$this->assertNotNull($obj->getGiftWrap());
$this->assertNotNull($obj->getFee());
$this->assertEquals(self::getJson(), $obj->toJson());
return $obj;
}