/** * @covers Moneybird\Invoice::delete */ public function testDelete() { $this->object->delete($this->service); $this->setExpectedException('Moneybird\\NotFoundException'); $this->service->getById(self::$invoiceId); }