/** * @covers Moneybird\Invoice_Service::getByIds */ public function testGetByIds() { $invoices = $this->service->getByIds(array(self::$invoiceId)); $this->assertInstanceOf('Moneybird\\Invoice\\ArrayObject', $invoices); $this->assertCount(1, $invoices); }
/** * @covers Moneybird\Contact_Service::getByIds */ public function testGetByIds() { $contacts = $this->service->getByIds(array(self::$contactId, $this->testContactId)); $this->assertInstanceOf('Moneybird\\Contact_Array', $contacts); $this->assertCount(2, $contacts); }