getObject() public static method

Gets Object Instance with Json data filled in
public static getObject ( ) : Invoice
return PayPal\Api\Invoice
コード例 #1
0
 /**
  * @depends testSerializationDeserialization
  * @param InvoiceSearchResponse $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getTotalCount(), 123);
     $this->assertEquals($obj->getInvoices(), InvoiceTest::getObject());
 }