public static getObject ( ) : |
||
Résultat |
public static function getObject()
{
return new CreditCard(self::getJson());
}
/** * @depends testSerializationDeserialization * @param CreditCardList $obj */ public function testGetters($obj) { $this->assertEquals($obj->getItems(), CreditCardTest::getObject()); $this->assertEquals($obj->getLinks(), LinksTest::getObject()); $this->assertEquals($obj->getTotalItems(), 123); $this->assertEquals($obj->getTotalPages(), 123); }