Inheritance: extends PHPUnit_Framework_TestCase
 /**
  * @depends testSerializationDeserialization
  * @param InvoiceSearchResponse $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getTotalCount(), 123);
     $this->assertEquals($obj->getInvoices(), InvoiceTest::getObject());
 }
 /**
  * @dataProvider mockProvider
  * @param Invoice $obj
  */
 public function testGet($obj, $mockApiContext)
 {
     $mockPayPalRestCall = $this->getMockBuilder('\\PayPal\\Transport\\PayPalRestCall')->disableOriginalConstructor()->getMock();
     $mockPayPalRestCall->expects($this->any())->method('execute')->will($this->returnValue(InvoiceTest::getJson()));
     $result = $obj->get("invoiceId", $mockApiContext, $mockPayPalRestCall);
     $this->assertNotNull($result);
 }