public static getObject ( ) : |
||
return |
public static function getObject()
{
return new Details(self::getJson());
}
/** * @depends testSerializationDeserialization * @param Amount $obj */ public function testGetters($obj) { $this->assertEquals($obj->getCurrency(), "TestSample"); $this->assertEquals($obj->getTotal(), "12.34"); $this->assertEquals($obj->getDetails(), DetailsTest::getObject()); }