public static function getObject() { return new Invoice(self::getJson()); }
/** * @depends testSerializationDeserialization * @param InvoiceSearchResponse $obj */ public function testGetters($obj) { $this->assertEquals($obj->getTotalCount(), 123); $this->assertEquals($obj->getInvoices(), InvoiceTest::getObject()); }